We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a0238 commit da0b931Copy full SHA for da0b931
.github/workflows/build-linux.yml
@@ -7,21 +7,10 @@ on:
7
types: [opened, synchronize, reopened, closed]
8
9
jobs:
10
- fail_if_pull_request_is_draft:
11
- if: github.event.pull_request.draft == true
12
- runs-on: ubuntu-latest
13
- steps:
14
- - name: Build test is not run for draft PRs
15
- run: exit 1
16
-
17
- fail_if_ci_skip:
18
- if: ${{ contains(github.event.commits[0].message, 'ci skip') }}
19
20
21
- - name: Build test is not run for [ci skip]
22
23
24
build:
+ if: |
+ !(github.event_name == 'pull_request' && github.event.pull_request.draft == true) ||
+ !(github.event_name == 'pull_request' && ${{ contains(github.event.commits[0].message, 'ci skip') }})
25
strategy:
26
fail-fast: false
27
matrix:
0 commit comments