Skip to content

Commit

Permalink
Skip actions trigger when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
irazasyed committed Jan 13, 2022
1 parent a57d535 commit e32f0bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [push]

jobs:
php-cs-fixer:
if: "!contains(github.event.head_commit.message, 'skip ci')"

runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:

jobs:
tests:
if: "!contains(github.event.head_commit.message, 'skip ci')"

runs-on: ubuntu-latest

name: Unit test coverage

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
tests:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down

0 comments on commit e32f0bb

Please sign in to comment.