mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-01 13:04:02 +01:00
31 lines
896 B
YAML
31 lines
896 B
YAML
name: Auto Bump Mobile Version
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v**
|
|
|
|
jobs:
|
|
bump-version:
|
|
name: Bump Mobile Version
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- 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
|
|
env:
|
|
GH_TOKEN: ${{ steps.retrieve-bot-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
|
|
run: |
|
|
echo '{"cut_rc_branch": "false"}' | \
|
|
gh workflow run version-bump.yml --json --repo bitwarden/mobile
|