mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00: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:
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'
|
||||
|
||||
Reference in New Issue
Block a user