You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fail: true # Fail the action if broken links are found
23
+
args: --verbose --no-progress --fail './**/*.md'
22
24
env:
23
25
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
26
25
-
# Create an issue if the job fails (optional)
26
27
- name: Create Issue If Failed
27
28
if: failure()
28
29
uses: actions/github-script@v6
29
30
with:
30
31
script: |
31
32
const title = '🔗 Broken links found in documentation';
32
33
const body = 'The link checker found broken links in the documentation. Please check the [workflow run](${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}) for details.';
0 commit comments