1name: record-vcr-cassettes
2
3on:
4 workflow_dispatch:
5 inputs:
6 branch:
7 description: Branch
8 required: true
9 type: string
10
11jobs:
12 record:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
16 with:
17 ref: ${{ github.event.inputs.branch }}
18 token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
19
20 - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
21 with:
22 go-version-file: go.mod
23
24 - name: Install Task
25 uses: go-task/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1.0.0
26
27 - run: task record
28
29 - uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v5
30 with:
31 commit_message: "test: auto-record vcr cassettes"
32 branch: ${{ github.event.inputs.branch }}
33 commit_user_name: Charm
34 commit_user_email: 124303983+charmcli@users.noreply.github.com
35 commit_author: Charm <124303983+charmcli@users.noreply.github.com>