mirror of
https://github.com/bitwarden/browser
synced 2026-01-04 09:33:27 +00:00
Update master to main in workflows (#7151)
This commit is contained in:
10
.github/workflows/build-desktop.yml
vendored
10
.github/workflows/build-desktop.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
- '.github/workflows/build-desktop.yml'
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
- 'main'
|
||||
- 'rc'
|
||||
- 'hotfix-rc-desktop'
|
||||
paths:
|
||||
@@ -973,7 +973,7 @@ jobs:
|
||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||
if: |
|
||||
(github.ref == 'refs/heads/master'
|
||||
(github.ref == 'refs/heads/main'
|
||||
&& needs.setup.outputs.rc_branch_exists == 0
|
||||
&& needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
|| (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
@@ -1154,7 +1154,7 @@ jobs:
|
||||
|
||||
crowdin-push:
|
||||
name: Crowdin Push
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/main'
|
||||
needs:
|
||||
- linux
|
||||
- windows
|
||||
@@ -1185,7 +1185,7 @@ jobs:
|
||||
CROWDIN_PROJECT_ID: "299360"
|
||||
with:
|
||||
config: apps/desktop/crowdin.yml
|
||||
crowdin_branch_name: master
|
||||
crowdin_branch_name: main
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
|
||||
@@ -1207,7 +1207,7 @@ jobs:
|
||||
- crowdin-push
|
||||
steps:
|
||||
- name: Check if any job failed
|
||||
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/rc') }}
|
||||
if: ${{ (github.ref == 'refs/heads/main') || (github.ref == 'refs/heads/rc') }}
|
||||
env:
|
||||
CLOC_STATUS: ${{ needs.cloc.result }}
|
||||
ELECTRON_VERIFY_STATUS: ${{ needs.electron-verify.result }}
|
||||
|
||||
Reference in New Issue
Block a user