mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
ci: ability to skip any workflow
This commit is contained in:
parent
8b2ca77ba2
commit
a00601f651
3 changed files with 6 additions and 5 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
||||
name: ${{ matrix.config.name }}
|
||||
runs-on: "macos-10.15"
|
||||
strategy:
|
||||
|
|
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -1,9 +1,10 @@
|
|||
name: Lint
|
||||
name: Lint Code
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
lint:
|
||||
if: "!contains(github.event.head_commit.message, '[skip lint]')"
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -3,8 +3,8 @@ name: Test Libraries
|
|||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
||||
test:
|
||||
if: "!contains(github.event.head_commit.message, '[skip test]')"
|
||||
runs-on: "macos-10.15"
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
|
Loading…
Reference in a new issue