Skip to content

Commit

Permalink
Run tests on pull requests targeting master
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Dec 17, 2024
1 parent 67a7b18 commit de5dd98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
Expand Down Expand Up @@ -46,6 +49,7 @@ jobs:
build-and-push:
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push' # Prevent this job from running on pull requests

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit de5dd98

Please sign in to comment.