Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97fa6b2d73 |
4
.github/workflows/pr-link-path-scan.yml
vendored
4
.github/workflows/pr-link-path-scan.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Check the Validity of Hyperlinks
|
- name: Check the Validity of Hyperlinks
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
delay=15
|
delay=1
|
||||||
fail="FALSE"
|
fail="FALSE"
|
||||||
merged_commit=$(git log -1 --format='%H')
|
merged_commit=$(git log -1 --format='%H')
|
||||||
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
|
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
- name: Checking Relative Path Validity
|
- name: Checking Relative Path Validity
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
delay=15
|
delay=1
|
||||||
fail="FALSE"
|
fail="FALSE"
|
||||||
repo_name=${{ github.event.pull_request.head.repo.full_name }}
|
repo_name=${{ github.event.pull_request.head.repo.full_name }}
|
||||||
branch="https://github.com/$repo_name/blob/${{ github.event.pull_request.head.ref }}"
|
branch="https://github.com/$repo_name/blob/${{ github.event.pull_request.head.ref }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user