Skip to content

Commit

Permalink
ci: skip jobs when ci is mark skipped [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Losoponkul committed May 22, 2024
1 parent f4d378e commit 5c65d9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
build-and-unit-tests:
name: "Build and unit tests"
runs-on: self-hosted
if: "!contains(github.event.head_commit.message, '[skip ci]') || !contains(github.event.head_commit.message, '[ci skip]') || !contains(github.event.head_commit.message, '[no ci]') || !contains(github.event.head_commit.message, '[skip actions]') || !contains(github.event.head_commit.message, '[actions skip]')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
container:
Expand Down

0 comments on commit 5c65d9a

Please sign in to comment.