Skip to content

Commit 06b9851

Browse files
authored
feat: skip ci on workflow updates (#501)
1 parent df1b200 commit 06b9851

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: CI
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- '*.md'
5+
paths:
6+
- '**' # include everything by default
7+
- '!**/*.md' # ignore markdown files
8+
- '!.github/workflows/**' # ignore all workflow files
9+
- '.github/workflows/ci.yml' # except changes to ci.yml itself
710

811
jobs:
912
commit-lint:

0 commit comments

Comments
 (0)