-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
- Loading branch information
1 parent
eccc8dd
commit 6decf29
Showing
4 changed files
with
59 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: Broken link detected by CI | ||
labels: bug | ||
--- | ||
|
||
<!-- Used by automation to raise an Issue when the periodic link aliveness tests detect a broken link. --> | ||
|
||
Periodic link aliveness CI detected a broken link. Please see the job results for details. |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Markdown Link Checks | ||
on: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
jobs: | ||
markdown-link-check-periodic: | ||
runs-on: ubuntu-latest | ||
name: Markdown Link Checks | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Run markdown-link-check | ||
uses: gaurav-nelson/github-action-markdown-link-check@0.6.0 | ||
with: | ||
config-file: ".markdownlinkcheck.json" | ||
|
||
- name: Raise an Issue to report broken links | ||
if: ${{ failure() }} | ||
uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
filename: .github/ISSUE_TEMPLATE/broken-link.md |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Markdown Link Checks | ||
on: pull_request | ||
|
||
jobs: | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
name: Markdown Link Checks | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v1 | ||
|
||
- name: Run markdown-link-check | ||
uses: gaurav-nelson/github-action-markdown-link-check@0.6.0 | ||
with: | ||
config-file: ".markdownlinkcheck.json" | ||
check-modified-files-only: "yes" |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^https://github.com/\\S+/\\S+/(issues|pull)/[0-9]+" | ||
}, | ||
{ | ||
"pattern": "^http://localhost:" | ||
} | ||
] | ||
} |