Skip to content

Commit

Permalink
testins: Create Issue From File rupali-codes#2357
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPabloDiaz committed May 31, 2024
1 parent 1a48def commit 7116010
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/broken-link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.json' --exclude-mail --exclude 'http://localhost:*/*' --exclude 'https://*.canva.com/*'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
continue-on-error: true

- name: Set lychee_exit_code
id: lychee_exit_code
run: echo "::set-output name=lychee_exit_code::$?"

- name: Commit changes
run: |
Expand All @@ -35,3 +40,11 @@ jobs:
title: 'Fix broken links'
body: 'This PR fixes broken links found by the link checker.'
branch: 'fix/broken-links'

- name: Create Issue From File
if: steps.lychee_exit_code.outputs.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v5.0.0
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: Broken Link

0 comments on commit 7116010

Please sign in to comment.