Skip to content

Commit

Permalink
ci(github): only run GA if respective subproject changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Mar 17, 2024
1 parent ed8a973 commit 8318162
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/backend-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build backend Docker image
on:
push:
branches: [main, master]
paths:
- backend/**

permissions:
packages: write
Expand Down Expand Up @@ -32,4 +34,4 @@ jobs:
tags: ghcr.io/purdue-cs307-tsundoku/tsundoku-backend:latest
build-args: |
BRANCH=latest
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/backend-playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [main, master]
pull_request:
branches: [main, master]
paths:
- backend/**

jobs:
test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mobile-android-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main, master]
pull_request:
branches: [master]
paths:
- mobile/**

env:
ANDROID_ARCH: x86_64
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mobile-ios-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main, master]
pull_request:
branches: [master]
paths:
- mobile/**

jobs:
build:
Expand Down

0 comments on commit 8318162

Please sign in to comment.