Skip to content

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

ci: Create workflow update-homebrew-formula.yml

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

name: Update Homebrew Formula
on:
workflow_dispatch:
pull_request:
jobs:
update-homefrew-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: current
token: ${{ secrets.TOKEN }}
- 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