Skip to content

Commit

Permalink
make actions only run on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petervanmanenritense committed Aug 21, 2024
1 parent 9f08b13 commit f6892d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ name: Build backend
on:
push:
branches: [ "main" ]
paths: ['backend/**']
pull_request:
branches: [ "main" ]
paths: ['backend/**']

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ name: Build frontend
on:
push:
branches: [ "main" ]
paths: ['frontend/**']
pull_request:
branches: [ "main" ]
paths: ['frontend/**']

jobs:
build:
Expand Down

0 comments on commit f6892d9

Please sign in to comment.