Skip to content

Commit

Permalink
ci: only run preview on non protected branches
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Sep 30, 2024
1 parent a19655b commit 8545451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
name: Firebase preview
runs-on: ubuntu-latest
needs: [test-unit, test-check]
if: ${{ github.event.sender.type == 'User' }}
if: ${{ github.event.sender.type == 'User' }} && github.head_ref != 'dev' }}
environment:
name: preview

Expand Down

0 comments on commit 8545451

Please sign in to comment.