Skip to content

Commit e5cd3ad

Browse files
committed
Next pr, I won't run
1 parent 6253b7a commit e5cd3ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/commit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ env:
1010
jobs:
1111
parse-commit:
1212
runs-on: ubuntu-latest
13+
# if the commit message does not contain {craft} or {bash} tags, then skip the craft-test and bash-test jobs
14+
if: github.event_name == 'push' && (contains(github.event.head_commit.message, '{craft}') || contains(github.event.head_commit.message, '{bash}'))
1315
outputs:
1416
skip_craft: ${{ steps.parse_commit.outputs.skip_craft }}
1517
craft: ${{ steps.parse_commit.outputs.craft }}

0 commit comments

Comments
 (0)