feature: use SKIP_CI_PREFIX variable
All checks were successful
Main / build (push) Successful in 4m21s
All checks were successful
Main / build (push) Successful in 4m21s
This commit is contained in:
parent
82861010f7
commit
c05a5c4cfd
5
.github/workflows/main.yaml
vendored
5
.github/workflows/main.yaml
vendored
@ -3,6 +3,7 @@ name: Main
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- main
|
||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -10,7 +11,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "contains(github.event.head_commit.message, '[CI]:') != true"
|
if: "contains(github.event.head_commit.message, vars.SKIP_CI_PREFIX) != true"
|
||||||
|
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
@ -47,4 +48,4 @@ jobs:
|
|||||||
- name: Push changelog
|
- name: Push changelog
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "[CI]: Push updated changelog"
|
commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"
|
||||||
|
Loading…
Reference in New Issue
Block a user