Skip to content

Commit

Permalink
Initial attempt to exclude problem URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhold committed Oct 30, 2023
1 parent 3e276e9 commit ad819f4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/check-all-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,26 @@ jobs:
steps:
- uses: actions/checkout@v3

# We maintain the list of the URLs excluded from checking in a separate file so that we can use
# We maintain the lists of the URLs and URL patterns excluded from checking in separate files so that we can use
# it in multiple workflows, while easily maintaining consistency.
- name: Read exclude-urls list
id: exclude
id: ex-urls
uses: juliangruber/read-file-action@v1
with:
path: ./.github/workflows/exclude-urls.txt
#
- name: Read exclude-urls list
id: ex-patterns
uses: juliangruber/read-file-action@v1
with:
path: ./.github/workflows/exclude-patterns.txt

- name: urls-checker
uses: urlstechie/urlchecker-action@0.0.33
with:
# Use common exclude list read in above
exclude_urls: ${{ steps.exclude.outputs.content }}
exclude_urls: ${{ steps.ex-urls.outputs.content }}
exclude_patterns: ${{ steps.ex-patterns.outputs.content }}
timeout: 10
retry_count: 3
print_all: false
1 change: 1 addition & 0 deletions .github/workflows/exclude-patterns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://exascaleproject.zoomgov.com/meeting/register/,https://ecptr.webex.com/ecptr/onstage/,https://olcf.webex.com/olcf/,https://science-doe.zoomgov.com/webinar/register/
2 changes: 1 addition & 1 deletion .github/workflows/exclude-urls.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://en.w
https://www.isc-hpc.com/registration-2022.html,https://bit.ly/366iLeN,https://www.surveymonkey.com/r/WHFWHWQ/

0 comments on commit ad819f4

Please sign in to comment.