Make actions cancelable
@@ -10,6 +10,10 @@ permissions:
pull-requests: write
contents: write
+concurrency:
+ group: analysis-wrapper-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
analysis:
runs-on: ubuntu-latest
@@ -7,6 +7,10 @@ on:
# Declare default permissions as read only.
permissions: read-all
+ group: assemble-flavors-${{ github.head_ref || github.run_id }}
flavor:
+ group: check-kotlin-${{ github.head_ref || github.run_id }}
check:
+ group: detect-snapshot-${{ github.head_ref || github.run_id }}
detectSnapshot:
@@ -8,6 +8,10 @@ permissions:
contents: read
+ group: qa-build-${{ github.head_ref || github.run_id }}
qa:
+ group: screenshot-test-${{ github.head_ref || github.run_id }}
screenshot:
runs-on: macOS-latest
+ group: unit-tests-${{ github.head_ref || github.run_id }}
test: