Skip to content

Commit

Permalink
Fix periodic broken link test issue reporting
Browse files Browse the repository at this point in the history
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
dfarrell07 authored and skitt committed Nov 27, 2020
1 parent c0dd390 commit 9b7bc0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/ISSUE_TEMPLATE/broken-link.md
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.
8 changes: 4 additions & 4 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9b7bc0f

Please sign in to comment.