Improve actions notifier for workflow_run#37088
Merged
Merged
Conversation
bircni
approved these changes
Apr 2, 2026
lunny
approved these changes
Apr 2, 2026
Collaborator
|
I was unable to create a backport for 1.25. @Zettat123, please send one manually. 🍵 |
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Apr 3, 2026
* main: Fix RPM Registry 404 when package name contains 'package' (go-gitea#37087) Improve actions notifier for `workflow_run` (go-gitea#37088) Refactor code render and render control chars (go-gitea#37078) Fix various problems (go-gitea#37077) [skip ci] Updated translations via Crowdin Support legacy run/job index-based URLs and refactor migration 326 (go-gitea#37008) Fix a bug when forking a repository in an organization (go-gitea#36950)
Zettat123
added a commit
to Zettat123/gitea
that referenced
this pull request
Apr 3, 2026
Changes: - Make `GetActionWorkflow` only convert the target workflow - In `getActionWorkflowEntry`, use `branchName` instead of resolving the default branch name from `commit.GetBranchName()` - Add `ref` to `workflow_run` notify input to avoid the empty `ref` warning --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Contributor
Author
|
lunny
pushed a commit
that referenced
this pull request
Apr 3, 2026
Backport #37088 Changes: - Make `GetActionWorkflow` only convert the target workflow - In `getActionWorkflowEntry`, use `branchName` instead of resolving the default branch name from `commit.GetBranchName()` - Add `ref` to `workflow_run` notify input to avoid the empty `ref` warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
GetActionWorkflowonly convert the target workflowgetActionWorkflowEntry, usebranchNameinstead of resolving the default branch name fromcommit.GetBranchName()reftoworkflow_runnotify input to avoid the emptyrefwarning