Skip to content

Commit 06c7104

Browse files
committed
Skip link checking on AxonFramework updates.
The links in the documentation will be changed as well and would only work after being merged.
1 parent fb3de95 commit 06c7104

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/check-links-in-documentation.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,15 @@ jobs:
2525
with:
2626
node-version-file: '.nvmrc'
2727

28+
- name: Skip on update of AxonFramework by bot (Renovate)
29+
if: |
30+
github.event_name == 'pull_request' &&
31+
startsWith(github.event.pull_request.title, 'Update dependency AxonFramework') &&
32+
github.event.pull_request.user.type == 'Bot'
33+
run: |
34+
echo "Skipping link check on AxonFramework updates since the updated links tto the reports will only be active "
35+
echo "skip_link_check=true" >> $GITHUB_ENV
36+
2837
- name: Check links in top level documentation Markdown files
38+
if: ${{ ! env.skip_link_check}}
2939
run: npx --yes markdown-link-check --config=markdown-lint-check-config.json README.md COMMANDS.md GETTING_STARTED.md

0 commit comments

Comments
 (0)