Skip to content

Commit 13794ac

Browse files
committed
make ci runs conditional --no-ci
1 parent f73c4ae commit 13794ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
lint:
7+
if: "!contains(github.event.head_commit.message, '--no-ci')"
78
name: Run Linter
89
runs-on: ubuntu-latest
910
steps:
@@ -21,6 +22,7 @@ jobs:
2122
- name: Run Ruff
2223
run: ruff check --output-format=github .
2324
test:
25+
if: "!contains(github.event.head_commit.message, '--no-ci')"
2426
name: Run Tests
2527
needs: lint
2628
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)