We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1857f9b commit 4f2a80bCopy full SHA for 4f2a80b
1 file changed
README.md
@@ -33,6 +33,11 @@ on:
33
permissions:
34
contents: read
35
36
+# Cancel an in-progress preflight when a new push lands on the same PR.
37
+concurrency:
38
+ group: api-surface-${{ github.event.pull_request.number }}
39
+ cancel-in-progress: true
40
+
41
jobs:
42
check:
43
runs-on: ubuntu-latest
@@ -66,6 +71,12 @@ permissions:
66
71
67
72
pull-requests: write
68
73
74
+# Cancel an in-progress comment run when a re-run / repeat workflow_run fires
75
+# for the same head SHA.
76
77
+ group: api-surface-comment-${{ github.event.workflow_run.head_sha }}
78
79
69
80
70
81
comment:
82
if: github.event.workflow_run.event == 'pull_request'
0 commit comments