Skip to content

Improve actions notifier for workflow_run#37088

Merged
lunny merged 5 commits into
go-gitea:mainfrom
Zettat123:improve-workflow-run
Apr 3, 2026
Merged

Improve actions notifier for workflow_run#37088
lunny merged 5 commits into
go-gitea:mainfrom
Zettat123:improve-workflow-run

Conversation

@Zettat123
Copy link
Copy Markdown
Contributor

@Zettat123 Zettat123 commented Apr 2, 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

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 2, 2026
@Zettat123 Zettat123 added topic/gitea-actions related to the actions of Gitea backport/v1.25 This PR should be backported to Gitea 1.25 labels Apr 2, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 2, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 2, 2026
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 3, 2026
@lunny lunny merged commit f70f2c7 into go-gitea:main Apr 3, 2026
26 checks passed
@GiteaBot GiteaBot added this to the 1.26.0 milestone Apr 3, 2026
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 3, 2026
@GiteaBot
Copy link
Copy Markdown
Collaborator

GiteaBot commented Apr 3, 2026

I was unable to create a backport for 1.25. @Zettat123, please send one manually. 🍵

go run ./contrib/backport 37088
...  // fix git conflicts if any
go run ./contrib/backport --continue

@GiteaBot GiteaBot added the backport/manual No power to the bots! Create your backport yourself! label Apr 3, 2026
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>
@Zettat123
Copy link
Copy Markdown
Contributor Author

I was unable to create a backport for 1.25. @Zettat123, please send one manually. 🍵

go run ./contrib/backport 37088
...  // fix git conflicts if any
go run ./contrib/backport --continue

#37099

@Zettat123 Zettat123 added backport/done All backports for this PR have been created and removed backport/manual No power to the bots! Create your backport yourself! labels Apr 3, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/done All backports for this PR have been created backport/v1.25 This PR should be backported to Gitea 1.25 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/gitea-actions related to the actions of Gitea

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants