Skip to content

Commit 6536893

Browse files
authored
Fix ignore paths for Check (#4816)
Based on [the docs](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths), `paths` should be used for excluding only when it's also specifying which paths to include. Otherwise, `paths-ignore` should be used.
1 parent c0dd2c7 commit 6536893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check.yml

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

33
on:
44
pull_request:
5-
paths:
6-
- '!Firestore/**'
5+
paths-ignore:
6+
- 'Firestore/**'
77

88
jobs:
99
check:

0 commit comments

Comments
 (0)