Skip to content

Commit

Permalink
Fix updating the v1 branch on automated releases
Browse files Browse the repository at this point in the history
* Fixes #618
  • Loading branch information
eregon committed Jul 6, 2024
1 parent 382d786 commit 3a77c29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ jobs:
with:
ruby-version: '3.3'
- run: ruby release.rb
# The same as the update-v1-branch.yml workflow.
# That workflow is not triggered by the release created above because of
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
- run: git push origin HEAD:v1
2 changes: 1 addition & 1 deletion .github/workflows/update-v1-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update the v1 branch when a release is published
name: Update the v1 branch when a release is published manually
on:
release:
types: [published]
Expand Down

0 comments on commit 3a77c29

Please sign in to comment.