mirror of
https://github.com/public-apis/public-apis.git
synced 2025-07-31 15:20:27 +02:00
Add possibility to run duplicate link check only
Changes: - It is now possible to only check for duplicate links (without checking if the links are working) - Check for duplicate links when a push occurs - Update the scripts documentation accordingly
This commit is contained in:
parent
fb70084377
commit
4bc90a81cc
3 changed files with 26 additions and 3 deletions
4
.github/workflows/test_of_push_and_pull.yml
vendored
4
.github/workflows/test_of_push_and_pull.yml
vendored
|
@ -31,3 +31,7 @@ jobs:
|
|||
- name: Validate pull request changes
|
||||
run: scripts/github_pull_request.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FILENAME}
|
||||
if: github.event_name == 'pull_request'
|
||||
|
||||
- name: Checking if push changes are duplicated
|
||||
run: python scripts/validate/links.py ${FILENAME} --only_duplicate_links_checker
|
||||
if: github.event_name == 'push'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue