Skip to content

Commit

Permalink
Updating actions to only run when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ncpleslie committed Mar 27, 2024
1 parent 887ca1a commit 666e83b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on:
branches: [main]
paths:
- "backend/**"
- ".github/workflows/backend.yml"
pull_request:
branches: [main]
paths:
- "backend/**"
- ".github/workflows/backend.yml"

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build Chrome Extension
on:
push:
branches: [main]
paths: ["extension/**"]
paths: ["extension/**", ".github/workflows/extension.yml"]
pull_request:
branches: [main]
paths: ["extension/**"]
paths: ["extension/**", ".github/workflows/extension.yml"]
release:
types: [created]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Lint and Test Frontend
on:
push:
branches: [main]
paths: ["frontend/**"]
paths: ["frontend/**", ".github/workflows/frontend.yml"]
pull_request:
branches: [main]
paths: ["frontend/**"]
paths: ["frontend/**", ".github/workflows/frontend.yml"]

jobs:
setup:
Expand Down

0 comments on commit 666e83b

Please sign in to comment.