Skip to content

Commit

Permalink
Merge pull request #223 from gitroomhq/ci-actions-on-paths
Browse files Browse the repository at this point in the history
ci: only run actions when certain paths change
  • Loading branch information
jamesread authored Sep 9, 2024
2 parents 46dd674 + 55006cb commit 2109a7b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ name: Build

on:
push:
branches:
- main
paths:
- package.json
- apps/**
- libraries/**

pull_request:
paths:
- package.json
- apps/**
- libraries/**

jobs:
build:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ name: "Code Quality Analysis"

on:
push:
branches:
- main
paths:
- apps/**
- libraries/**

pull_request:
paths:
- apps/**
- libraries/**

jobs:
analyze:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/eslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ name: ESLint

on:
push:
branches:
- main
paths:
- package.json
- apps/**
- libraries/**

pull_request:
paths:
- package.json
- apps/**
- libraries/**

jobs:
eslint:
Expand Down

0 comments on commit 2109a7b

Please sign in to comment.