From 79205a25b2289de10cfb3feb0e37653a85bd7d73 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 23 Nov 2024 23:16:03 -0500 Subject: "Plagiarise" someone else's action --- .github/workflows/vhs.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/vhs.yml (limited to '.github/workflows/vhs.yml') diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml new file mode 100644 index 0000000..99815f0 --- /dev/null +++ b/.github/workflows/vhs.yml @@ -0,0 +1,37 @@ +--- +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: main + commit_user_name: vhs-action 📼 + commit_user_email: actions@github.com + commit_author: vhs-action 📼 + file_pattern: '*.gif' -- cgit v1.2.3