ci: run gitea action from PR mutally exclusive to push
Run-Checks
This commit is contained in:
parent
c06ddd544c
commit
e0b1e9db49
|
@ -8,8 +8,11 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
run-ci-linux:
|
run-ci-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# run action mutally exclusive on PRs or
|
||||||
|
# push with commit containing "Run-Checks"
|
||||||
if: >
|
if: >
|
||||||
contains(github.event.head_commit.message, 'Run-Checks') ||
|
(contains(github.event.head_commit.message, 'Run-Checks') &&
|
||||||
|
github.event_name == 'push') ||
|
||||||
github.event_name == 'pull_request'
|
github.event_name == 'pull_request'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|
Loading…
Reference in New Issue