Skip to content

Commit

Permalink
Add release workflow for updating the v1 branch on new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Jun 17, 2024
1 parent e84c929 commit f808e94
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Update the v1 branch when a release is published
on:
release:
types: [published]
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # for git push
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git push origin HEAD:v1

0 comments on commit f808e94

Please sign in to comment.