Skip to content

Commit

Permalink
Update check-pr-urls.yml
Browse files Browse the repository at this point in the history
Add file exclusions, following the all-rul checker
  • Loading branch information
bernhold committed Feb 1, 2024
1 parent 0301ed4 commit ffca019
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/check-pr-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ffca019

Please sign in to comment.