You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
12 months ago
..
auth.go Use general token signing secret (#29205) 12 months ago
auth_test.go Use general token signing secret (#29205) 12 months ago
cleanup.go Expire artifacts before deleting them physically (#29241) 12 months ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
commit_status.go Show commit status for releases (#29149) 12 months ago
init.go Move notification interface to services layer (#26915) 1 year ago
job_emitter.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
job_emitter_test.go Implement actions (#21937) 2 years ago
notifier.go Improve the `issue_comment` workflow trigger event (#29277) 12 months ago
notifier_helper.go Improve the `issue_comment` workflow trigger event (#29277) 12 months ago
schedule_tasks.go Fix an actions schedule bug (#28942) 1 year ago