Skip to content

Commit

Permalink
fix(actions): Disable deployment only if e2e fails on next or prod
Browse files Browse the repository at this point in the history
  • Loading branch information
SokratisVidros committed May 9, 2024
1 parent 4524b7b commit b7bccc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/scheduled_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ permissions:
actions: write

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
test_web:
Expand Down Expand Up @@ -49,7 +49,8 @@ jobs:

release_decision:
name: Release Decision
if: always()
# TODO: Remove the conditional for next when we fully switch to main/prod branching model
if: github.ref_name == 'next' || github.ref_name == 'prod' || github.ref_name == 'main'
runs-on: ubuntu-latest
needs:
- test_widget
Expand Down

0 comments on commit b7bccc0

Please sign in to comment.