1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-09 12:03:33 +00:00

Use correct event and branch targets for some workflow steps (#11961)

This commit is contained in:
Matt Bishop
2024-11-11 16:38:03 -05:00
committed by GitHub
parent 47c7a657b7
commit 5755d4b3a8
4 changed files with 10 additions and 12 deletions

View File

@@ -351,7 +351,7 @@ jobs:
crowdin-push:
name: Crowdin Push
if: github.ref == 'refs/heads/main'
if: github.event_name != 'pull_request_target' && github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
needs:
- build
@@ -400,7 +400,7 @@ jobs:
- name: Check if any job failed
if: |
github.event_name != 'pull_request_target'
&& (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc')
&& (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc-browser')
&& contains(needs.*.result, 'failure')
run: exit 1