gitea/services/actions
Zettat123 a4fe1cdf38
Improve the `issue_comment` workflow trigger event ()
Fix 
Replace 

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.go Use general token signing secret () 2024-02-18 17:39:04 +00:00
auth_test.go Use general token signing secret () 2024-02-18 17:39:04 +00:00
cleanup.go Expire artifacts before deleting them physically () 2024-02-18 22:25:14 +08:00
clear_tasks.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
commit_status.go Show commit status for releases () 2024-02-19 10:27:05 +00:00
init.go Move notification interface to services layer () 2023-09-05 18:37:47 +00:00
job_emitter.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
job_emitter_test.go Implement actions () 2023-01-31 09:45:19 +08:00
notifier.go Improve the `issue_comment` workflow trigger event () 2024-02-22 22:47:35 +08:00
notifier_helper.go Improve the `issue_comment` workflow trigger event () 2024-02-22 22:47:35 +08:00
schedule_tasks.go Fix an actions schedule bug () 2024-01-31 14:55:12 +00:00