forked from submariner-io/submariner-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix periodic broken link test issue reporting
Use new GHA for reporting issues when broken links are detected. This logic was verified to work by the frequently-run flaky test finder. Signed-off-by: Daniel Farrell <[email protected]>
- Loading branch information
1 parent
c0dd390
commit 9b7bc0f
Showing
2 changed files
with
6 additions
and
12 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 |
---|---|---|
@@ -1,8 +1,2 @@ | ||
--- | ||
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. | ||
Periodic link aliveness CI detected a broken link. Please see the [periodic job | ||
results](https://github.com/submariner-io/submariner-website/actions?query=workflow%3APeriodic) 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 |
---|---|---|
|
@@ -21,8 +21,8 @@ jobs: | |
|
||
- name: Raise an Issue to report broken links | ||
if: ${{ failure() }} | ||
uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: peter-evans/[email protected] | ||
with: | ||
filename: .github/ISSUE_TEMPLATE/broken-link.md | ||
title: Broken link detected by CI | ||
content-filepath: .github/ISSUE_TEMPLATE/broken-link.md | ||
labels: automated, broken link |