Skip to content

Commit

Permalink
Do not mark build red if dead links were found
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Jul 18, 2024
1 parent d41f181 commit 6444949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-external-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
.cache-github-api
key: gatsby-build-github-queries-${{ steps.date.outputs.month }}-${{ steps.date.outputs.day }}-${{ github.run_id }}-${{ github.run_attempt }}
- run: npm run test:links
continue-on-error: true # problems will be tracked by defects raised by the next job, not by build failures
env:
CI: true
PATH_PREFIX: "${{ github.ref_name == 'main' && 'extensions' || '' }}"
PATH_PREFIX_FLAG: "${{ github.ref_name == 'main' && '--prefix-paths' || '' }}"
- name: Raise defects if needed
uses: jbangdev/[email protected]
if: always() # we *especially* want to run this if the link checker failed
with:
script: site-validation/dead-link-issue.java
scriptargs: token=${{ secrets.GITHUB_TOKEN }} issueRepo=${{ github.repository }} runId=${{ github.run_id }} siteUrl=https://quarkus.io/extensions

0 comments on commit 6444949

Please sign in to comment.