1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04:00
gitea/services/actions
Zettat123 a4fe1cdf38
Improve the issue_comment workflow trigger event (#29277)
Fix #29175
Replace #29207

This PR makes some improvements to the `issue_comment` workflow trigger
event.

1. Fix the bug that pull requests cannot trigger `issue_comment`
workflows
2. Previously the `issue_comment` event only supported the `created`
activity type. This PR adds support for the missing `edited` and
`deleted` activity types.
3. Some events (including `issue_comment`, `issues`, etc. ) only trigger
workflows that belong to the workflow file on the default branch. This
PR introduces the `IsDefaultBranchWorkflow` function to check for these
events.
2024-02-22 22:47:35 +08:00
..
auth_test.go
auth.go
cleanup.go
clear_tasks.go
commit_status.go
init.go
job_emitter_test.go
job_emitter.go
notifier_helper.go Improve the issue_comment workflow trigger event (#29277) 2024-02-22 22:47:35 +08:00
notifier.go Improve the issue_comment workflow trigger event (#29277) 2024-02-22 22:47:35 +08:00
schedule_tasks.go