1
0
Fork 0
mirror of synced 2024-06-14 08:44:49 +12:00

Update the github workflows to cancel if PR is modified

This commit is contained in:
Steven Nguyen 2023-02-21 14:58:26 -08:00
parent 5d1ada4652
commit 7f542e2052
No known key found for this signature in database
3 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,9 @@
name: "CodeQL"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master]

View file

@ -1,5 +1,9 @@
name: "Linter"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request]
jobs:
lint:

View file

@ -1,5 +1,9 @@
name: "Tests"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request]
jobs:
tests: