File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,20 @@ name: CI
3
3
on :
4
4
pull_request :
5
5
merge_group :
6
+ workflow_dispatch :
7
+ schedule :
8
+ # Run every four hours to make sure that all changes are up-to-date
9
+ - cron : 0 */4 * * *
10
+
11
+ concurrency :
12
+ # We want to make sure that parallel executions (merge queue, cron, manual) of this workflow
13
+ # do not perform the `deploy` job in parallel.
14
+ # At the same time, we want to avoid this workflow running in parallel for multiple PRs
15
+ # (where it only runs tests, without deploy).
16
+ # If we're in a PR, `head_ref` is set, so we allow parallel runs for different PR HEAD refs.
17
+ # If we're elsewhere, we use a constant string to use the same concurrency group.
18
+ group : ${{ github.workflow }}-${{ github.head_ref || 'deploy' }}
19
+ cancel-in-progress : false
6
20
7
21
jobs :
8
22
test :
59
73
needs : [ test ]
60
74
runs-on : ubuntu-latest
61
75
environment : deploy
62
- concurrency : deploy
63
76
permissions :
64
77
id-token : write
65
78
pages : write
You can’t perform that action at this time.
0 commit comments