mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-14 00:11:16 +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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
if: "!contains(github.event.head_commit.message, '[skip build]')"
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }}
|
||||||
runs-on: "macos-10.15"
|
runs-on: "macos-10.15"
|
||||||
strategy:
|
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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linter:
|
lint:
|
||||||
|
if: "!contains(github.event.head_commit.message, '[skip lint]')"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
if: "!contains(github.event.head_commit.message, '[skip test]')"
|
||||||
runs-on: "macos-10.15"
|
runs-on: "macos-10.15"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
Loading…
Reference in a new issue