Fix updating the v1 branch on automated releases

* Fixes https://github.com/ruby/setup-ruby/issues/618
This commit is contained in:
Benoit Daloze
2024-07-06 11:54:45 +02:00
parent 382d786c8a
commit 3a77c29278
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
+1 -1
View File
@@ -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]