Skip to content

Commit 68bcf8e

Browse files
committed
Tweak CI workflow events
Copy the config from other repos.
1 parent 7dbab0b commit 68bcf8e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/validate.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@ name: Public config validation
22

33
on:
44
push:
5+
branches:
6+
- main
57
pull_request:
8+
types:
9+
- opened
10+
- reopened
11+
- synchronize
12+
schedule:
13+
- cron: 0 0 * * 1-5
614

715
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
9-
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
16+
group: "${{ github.workflow }}-${{ github.ref }}"
17+
cancel-in-progress: "${{ !contains(github.ref, 'main')}}"
1018

1119
jobs:
1220
validate:

0 commit comments

Comments
 (0)