forgejo/services/actions
Giteabot a87c620d99
Add WithPullRequest for actionsNotifier (#25144) (#25196)
Backport #25144 by @Zettat123

Fix #25093

If
[`WithPullRequest`](679b1f7949/services/actions/notifier_helper.go (L90-L96))
is not called, the `Ref` in
[`notifyInput`](679b1f7949/services/actions/notifier_helper.go (L55-L65))
will be empty, so the workflows in the head branch will not be found and
triggered.

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit de6ac4bf2a)
2023-06-12 23:23:43 +02:00
..
clear_tasks.go Refactor commit status for Actions jobs (#23786) (#24060) 2023-04-11 22:37:34 -04:00
commit_status.go Handle canceled workflow as a warning instead of a fail (#24282) (#24292) 2023-04-23 15:44:45 -04:00
init.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
job_emitter.go Refactor commit status for Actions jobs (#23786) (#24060) 2023-04-11 22:37:34 -04:00
job_emitter_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
notifier.go Add WithPullRequest for actionsNotifier (#25144) (#25196) 2023-06-12 23:23:43 +02:00
notifier_helper.go Refactor commit status for Actions jobs (#23786) (#24060) 2023-04-11 22:37:34 -04:00