summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-10-03 12:39:37 -0700
committerMathias Preiner <mathias.preiner@gmail.com>2020-10-03 12:39:37 -0700
commit856d806d362b81bbf5a692d15d31f0161467bbd1 (patch)
tree5e42b4df52d7e0709f7cf1ada97b3622cf601063 /.github
parent7f08ae4ec52924110b648381280a07e6a812d09a (diff)
Fix CI builds and add cancel workflow.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cancel.yml13
-rw-r--r--.github/workflows/ci.yml10
2 files changed, 14 insertions, 9 deletions
diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml
new file mode 100644
index 000000000..7f1076371
--- /dev/null
+++ b/.github/workflows/cancel.yml
@@ -0,0 +1,13 @@
+on: [push, pull_request_target]
+name: Cancel
+
+jobs:
+ cancel:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Cancel Previous Runs
+ uses: styfle/cancel-workflow-action@0.5.0
+ with:
+ # cancel builds from ci workflow
+ workflow_id: 903674
+ access_token: ${{ github.token }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8f8f97139..e9c217501 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,15 +1,7 @@
-on: [push, pull_request_target]
+on: [push, pull_request]
name: CI
jobs:
- cancel:
- runs-on: ubuntu-latest
- steps:
- - name: Cancel Previous Runs
- uses: styfle/cancel-workflow-action@0.5.0
- with:
- access_token: ${{ github.token }}
-
build:
strategy:
matrix:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback