File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -122,10 +122,13 @@ jobs:
122122 path : jmx-metrics/build/reports/tests/integrationTest
123123
124124 link-check :
125+ # merge group and push events are excluded to avoid unnecessary CI failures
126+ # (these failures will instead be captured by the daily scheduled run)
127+ #
125128 # release branches are excluded to avoid unnecessary maintenance if external links break
126129 # (and also because the README.md might need update on release branches before the release
127130 # download has been published)
128- if : " ! startsWith(github.ref_name, 'release/')"
131+ if : github.event_name != 'merge_group' && github.event_name != 'push' && ! startsWith(github.ref_name, 'release/')
129132 uses : ./.github/workflows/reusable-link-check.yml
130133
131134 markdown-lint-check :
Original file line number Diff line number Diff line change 3939 run : ./.github/scripts/link-check.sh ${{ steps.modified-files.outputs.files }}
4040
4141 - name : Link check - all links (all files)
42- if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch '
42+ if : github.event_name != 'pull_request '
4343 env :
4444 GITHUB_TOKEN : ${{ github.token }}
4545 run : ./.github/scripts/link-check.sh
You can’t perform that action at this time.
0 commit comments