.github/workflows/build: don't skip CI when PR is a draft.
When a PR is marked as ready for review (no longer a draft), CI isn't re-run automatically, so no tests are run until the PR is updated. Even trying to manually re-run the jobs doesn't fix this, since GH appears to remember the PR state instead of using the current one.
This commit is contained in:
parent
4bba972abd
commit
55f0c47176
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build packages
|
name: Build packages
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
|
if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:20200607RC01'
|
image: 'voidlinux/masterdir-${{ matrix.config.bootstrap }}:20200607RC01'
|
||||||
|
|
Loading…
Reference in a new issue