mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
CI: Honour force-skip-ci label
If a PR has the `force-skip-ci` label set, don't run the static tests. Fixes: #2220. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
6c39c353e6
commit
7db8a85a1f
10
.github/workflows/static-checks.yaml
vendored
10
.github/workflows/static-checks.yaml
vendored
@ -1,7 +1,15 @@
|
|||||||
on: ["pull_request"]
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- labeled
|
||||||
|
- unlabeled
|
||||||
|
|
||||||
name: Static checks
|
name: Static checks
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.13.x, 1.14.x, 1.15.x]
|
go-version: [1.13.x, 1.14.x, 1.15.x]
|
||||||
|
Loading…
Reference in New Issue
Block a user