Merge pull request #5151 from appwrite/feat-cancel-in-progress

Update the github workflows to cancel if PR is modified
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2023-02-24 15:22:18 +05:30
commit 7d7ac9757b
3 files changed
+12

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
name: "CodeQL"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [master]
+4
View File
@@ -1,5 +1,9 @@
name: "Linter"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request]
jobs:
lint:
+4
View File
@@ -1,5 +1,9 @@
name: "Tests"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [pull_request]
jobs:
tests: