Skip to content

Update the v1 branch when a release is published manually #1

Update the v1 branch when a release is published manually

Update the v1 branch when a release is published manually #1

name: Update the v1 branch when a release is published
on:
release:
types: [published]
permissions:
contents: write # for git push
jobs:
update_branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git push origin HEAD:v1