We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d6484 commit a9f81b0Copy full SHA for a9f81b0
.github/workflows/ci_failure_watchdog.yaml
@@ -0,0 +1,21 @@
1
+name: CI Failure Watchdog
2
+
3
+on: check_suite
4
5
+jobs:
6
+ create_issue:
7
+ runs-on: self-hosted
8
+ container: akmetiuk/dotty:2020-02-12
9
10
+ if:
11
+ github.event.check_suite.head_branch == "master" && # Branch is master
12
+ github.event.check_suite.status == "completed" &&
13
+ github.event.check_suite.conclusion == "cancelled" # Status is failed
14
15
+ steps:
16
+ - uses: JasonEtco/create-an-issue@v2
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ with:
20
+ filename: .github/workflows/ci_failure_watchdog_template.md
21
.github/workflows/ci_failure_watchdog_template.md
@@ -0,0 +1,5 @@
+---
+title: CI Build failed
+labels: area:infrastructure
+{{ tools.context.event.check_suite.url }}
0 commit comments