1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00
bitwarden-browser/.github/workflows/version-auto-bump.yml

36 lines
1.0 KiB
YAML
Raw Normal View History

---
2024-02-09 11:29:47 +01:00
name: Auto Bump Desktop Version
2022-07-29 12:18:47 +02:00
on:
push:
tags:
- desktop-v**
2022-07-29 12:18:47 +02:00
jobs:
2024-02-09 11:29:47 +01:00
bump-version:
name: Bump Desktop Version
runs-on: ubuntu-22.04
2022-07-29 12:18:47 +02:00
steps:
2024-02-09 11:29:47 +01:00
- name: Login to Azure - CI Subscription
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
with:
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
- name: Retrieve bot secrets
id: retrieve-bot-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main
with:
keyvault: bitwarden-ci
secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Trigger Version Bump workflow
2024-02-09 11:29:47 +01:00
env:
GH_TOKEN: ${{ steps.retrieve-bot-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
run: |
echo '{"cut_rc_branch": "false",
"bump_browser": "false",
"bump_cli": "false",
"bump_desktop": "true",
"bump_web": "false"}' | \
2024-02-09 11:29:47 +01:00
gh workflow run version-bump.yml --json --repo bitwarden/clients