2022-08-02 10:34:07 +03:00
|
|
|
---
|
2024-02-12 15:56:08 +03:00
|
|
|
name: Auto Bump Mobile Version
|
2022-07-29 13:18:57 +03:00
|
|
|
|
|
|
|
on:
|
2022-10-17 12:50:38 +03:00
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- v**
|
2022-07-29 13:18:57 +03:00
|
|
|
|
|
|
|
jobs:
|
2024-02-12 15:56:08 +03:00
|
|
|
bump-version:
|
|
|
|
name: Bump Mobile Version
|
2022-10-11 17:27:07 +03:00
|
|
|
runs-on: ubuntu-22.04
|
2022-07-29 13:18:57 +03:00
|
|
|
steps:
|
2024-02-12 15:56:08 +03: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"
|
|
|
|
|
2024-03-12 23:10:11 +03:00
|
|
|
- name: Trigger Version Bump workflow
|
2024-02-12 15:56:08 +03:00
|
|
|
env:
|
|
|
|
GH_TOKEN: ${{ steps.retrieve-bot-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
|
|
|
|
run: |
|
2024-03-12 23:10:11 +03:00
|
|
|
echo '{"cut_rc_branch": "false"}' | \
|
|
|
|
gh workflow run version-bump.yml --json --repo bitwarden/mobile
|