mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
bd4453cce5
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
---
|
|
name: Bump CLI Formula
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- cli-v**
|
|
workflow_dispatch:
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
update-desktop-cask:
|
|
name: Update Bitwarden CLI Formula
|
|
runs-on: macos-13
|
|
steps:
|
|
- name: Login to Azure
|
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
|
|
with:
|
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
|
|
|
- name: Retrieve secrets
|
|
id: retrieve-secrets
|
|
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
|
with:
|
|
keyvault: "bitwarden-ci"
|
|
secrets: "brew-bump-workflow-pat"
|
|
|
|
- name: Update Homebrew formula
|
|
uses: dawidd6/action-homebrew-bump-formula@baf2b60c51fc1f8453c884b0c61052668a71bd1d # v3.11.0
|
|
with:
|
|
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
|
|
token: ${{ steps.retrieve-secrets.outputs.brew-bump-workflow-pat }}
|
|
org: bitwarden
|
|
tap: Homebrew/homebrew-core
|
|
formula: bitwarden-cli
|
|
tag: ${{ github.ref }}
|
|
revision: ${{ github.sha }}
|
|
force: true
|