diff --git a/.github/workflows/check-all-urls.yml b/.github/workflows/check-all-urls.yml index 283d528..e06cd57 100644 --- a/.github/workflows/check-all-urls.yml +++ b/.github/workflows/check-all-urls.yml @@ -16,6 +16,7 @@ on: # * * * * * # * is a special character in YAML so you have to quote this string - cron: '0 0 7 * *' # midnight on the seventh day (arbitrary) of every month + - workflow_dispatch jobs: build: @@ -44,6 +45,8 @@ jobs: # Use common exclude list read in above exclude_urls: ${{ steps.ex-urls.outputs.content }} exclude_patterns: ${{ steps.ex-patterns.outputs.content }} + # Add yml and json to the default file types to check + file_types: ".md,.py,.rst,.html,.yml,.json" timeout: 10 retry_count: 3 print_all: false diff --git a/.github/workflows/check-pr-urls.yml b/.github/workflows/check-pr-urls.yml index fdfedaa..813fabf 100644 --- a/.github/workflows/check-pr-urls.yml +++ b/.github/workflows/check-pr-urls.yml @@ -1,6 +1,6 @@ name: Check URLs in Changed Files -on: [pull_request, push, workflow_dispatch] +on: [pull_request] jobs: urlchecks: @@ -38,6 +38,8 @@ jobs: # Use common exclude list read in above exclude_urls: ${{ steps.ex-urls.outputs.content }} exclude_patterns: ${{ steps.ex-patterns.outputs.content }} + # Add yml and json to the default file types to check + file_types: ".md,.py,.rst,.html,.yml,.json" timeout: 10 retry_count: 3 print_all: false