Skip to content

Workflow file for this run

name: keep vendored branch up to date
on:
push:
branches: ["main"]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: vendor
run: |
git config user.name "github-actions[bot]"
git config user.email "[email protected]"
git checkout -b vendored
go mod vendor
git add .
git commit -m "vendored"
git push -f origin vendored