Update CI workflow to limit PR paths
Restrict CI workflow to specific paths on PR events. Remove unnecessary runs on push events as it is a required status check before PRs can be pushed into master anyways
This commit is contained in:
1 parent
bca8d08a3b
commit
eec81a7b67
1 file changed
+9
-1
@@ -2,8 +2,16 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- "src/**"
|
||||||
|
- "scripts/**"
|
||||||
|
- "angular.json"
|
||||||
|
- "tsconfig*.json"
|
||||||
|
- "package.json"
|
||||||
|
- "package-lock.json"
|
||||||
|
- ".github/workflows/**"
|
||||||
|
- "public/i18n/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in new issue
Block a user