Merge pull request #223 from gitroomhq/ci-actions-on-paths
ci: only run actions when certain paths change
This commit is contained in:
commit
2109a7b64a
3 changed files with 31 additions and 0 deletions
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
|
|
@ -3,7 +3,18 @@ name: Build
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- package.json
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- package.json
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
|||
9
.github/workflows/codeql.yml
vendored
9
.github/workflows/codeql.yml
vendored
|
|
@ -3,7 +3,16 @@ name: "Code Quality Analysis"
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
|
|
|||
11
.github/workflows/eslint.yaml
vendored
11
.github/workflows/eslint.yaml
vendored
|
|
@ -3,7 +3,18 @@ name: ESLint
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- package.json
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
pull_request:
|
||||
paths:
|
||||
- package.json
|
||||
- apps/**
|
||||
- libraries/**
|
||||
|
||||
jobs:
|
||||
eslint:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue