mirror of
https://github.com/bitwarden/browser
synced 2025-12-31 23:53:37 +00:00
Add check for trigger event (#11904)
This commit is contained in:
5
.github/workflows/build-desktop.yml
vendored
5
.github/workflows/build-desktop.yml
vendored
@@ -1350,7 +1350,10 @@ jobs:
|
||||
- crowdin-push
|
||||
steps:
|
||||
- name: Check if any job failed
|
||||
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc') && contains(needs.*.result, 'failure')
|
||||
if: |
|
||||
github.event_name != 'pull_request_target'
|
||||
&& (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc')
|
||||
&& contains(needs.*.result, 'failure')
|
||||
run: exit 1
|
||||
|
||||
- name: Login to Azure - Prod Subscription
|
||||
|
||||
Reference in New Issue
Block a user