-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Set ref
to fully-formed of the tag when trigger event is release
#23944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Tend to agree, I'd say it is breaking as some workflows may rely on the "broken" behaviour. |
I have a different opinion. It was previously incorrect, so what it broke was a mistake. I would say it's not breaking and should be backported. See the comment.
gitea/routers/api/actions/runner/utils.go Line 100 in ed7245f
It follows https://docs.github.com/en/actions/learn-github-actions/contexts#github-context |
🎺 🤖 |
…o-gitea#23944) Fix go-gitea#23943 When trigger event is `release`, ref should be like `refs/tags/<tag_name>` instead of `CommitID`
…23944) (#23989) Backport #23944 by @sillyguodong Fix #23943 When trigger event is `release`, ref should be like `refs/tags/<tag_name>` instead of `CommitID` Co-authored-by: sillyguodong <[email protected]>
Fix #23943
When trigger event is
release
, ref should be likerefs/tags/<tag_name>
instead ofCommitID