-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add file exclusions, following the all-rul checker
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,28 @@ jobs: | |
# We maintain the list of the URLs excluded from checking in a separate file so that we can use | ||
# it in multiple workflows, while easily maintaining consistency. | ||
- name: Read exclude-urls list | ||
id: exclude | ||
id: excludeurls | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.github/workflows/exclude-urls.txt | ||
|
||
# We maintain the list of the file excluded from checking too | ||
- name: Read exclude-files list | ||
id: excludefiles | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.github/workflows/exclude-files.txt | ||
|
||
# Run URL checks | ||
- name: URLs-checker | ||
uses: urlstechie/[email protected] | ||
with: | ||
# only include the changed files | ||
include_files: ${{ steps.files.outputs.added_modified }} | ||
# Use common exclude list read in above | ||
exclude_urls: ${{ steps.exclude.outputs.content }} | ||
exclude_urls: ${{ steps.excludeurls.outputs.content }} | ||
exclude_files: ${{ steps.excludefiles.outputs.content }} | ||
timeout: 10 | ||
retry_count: 3 | ||
print_all: false | ||
print_all: true | ||
verbose: true |