-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not mark build red if dead links were found
- Loading branch information
1 parent
d41f181
commit 6444949
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |