We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be7bf4b + 1199e64 commit 485d865Copy full SHA for 485d865
1 file changed
.github/workflows/ci.yml
@@ -2,10 +2,28 @@ name: CI
2
3
on:
4
push:
5
+ branches:
6
+ - main
7
+ - master
8
+
9
+ pull_request:
10
+ types: [opened, synchronize, reopened, labeled]
11
12
jobs:
13
build-and-test:
14
name: Run on ${{ matrix.os }} with SOFA ${{ matrix.sofa_branch }}
15
+ if: >
16
+ github.event_name == 'push' ||
17
+ (
18
+ github.event_name == 'pull_request' &&
19
20
+ contains(github.event.pull_request.labels.*.name, 'pr: run ci') &&
21
22
+ github.event.action != 'labeled' ||
23
+ github.event.label.name == 'pr: run ci'
24
+ )
25
26
27
runs-on: ${{ matrix.os }}
28
strategy:
29
fail-fast: false
0 commit comments