--- name: vhs on: push: branches: [master] pull_request: branches: [master] workflow_dispatch: permissions: contents: write jobs: vhs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with: go-version: stable - name: Build run: | sudo go build -o /usr/local/bin/termpicker ./cmd/termpicker - uses: charmbracelet/vhs-action@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: path: vhs.tape - uses: stefanzweifel/git-auto-commit-action@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: commit_message: Update generated VHS GIF branch: master commit_user_name: vhs-action 📼 commit_user_email: actions@github.com commit_author: vhs-action 📼 file_pattern: '*.gif'