1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-10 12:33:26 +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

@@ -263,7 +263,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'
needs:
- build-artifacts
runs-on: ubuntu-22.04
@@ -346,7 +346,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-web')
&& contains(needs.*.result, 'failure')
run: exit 1