Skip to content

ci: Create workflow update-homebrew-formula.yml #2

ci: Create workflow update-homebrew-formula.yml

ci: Create workflow update-homebrew-formula.yml #2

name: Update Homebrew Formula
on:
workflow_dispatch:
pull_request:
jobs:
update-formula:
runs-on: ubuntu-latest
container:
image: homebrew/brew:latest
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: lacework/docs_lw
ref: main
- name: Update CLI Version
run: |
sudo apt-get update -y
sudo apt-get install gpg-agent -y
echo "$GPG_SECRET_KEY" | base64 --decode | gpg --import --no-tty --batch --yes
make update-cli-version