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
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
..
actions Improve the `issue_comment` workflow trigger event (#29277) 12 months ago
agit small cache when get user id on interation (#29296) 12 months ago
asymkey Simplify how git repositories are opened (#28937) 1 year ago
attachment Even more `db.DefaultContext` refactor (#27352) 1 year ago
auth Fix c/p error in inline documentation (#29148) 12 months ago
automerge Simplify how git repositories are opened (#28937) 1 year ago
context Another round of `db.DefaultContext` refactor (#27103) 1 year ago
convert Add merge style `fast-forward-only` (#28954) 12 months ago
cron Refactor locale&string&template related code (#29165) 12 months ago
doctor Simplify how git repositories are opened (#28937) 1 year ago
externalaccount Final round of `db.DefaultContext` refactor (#27587) 1 year ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Refactor locale&string&template related code (#29165) 12 months ago
gitdiff Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Refactor issue template parsing and fix API endpoint (#29069) 12 months ago
lfs Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
mailer Refactor locale&string&template related code (#29165) 12 months ago
markup make writing main test easier (#27270) 1 year ago
migrations Properly migrate automatic merge GitLab comments (#27873) 12 months ago
mirror Simplify how git repositories are opened (#28937) 1 year ago
notify Update status and code index after changing the default branch (#27018) 1 year ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages Use general token signing secret (#29205) 12 months ago
pull Disallow merge when required checked are missing (#29143) 12 months ago
release Avoid sending update/delete release notice when it is draft (#29008) 1 year ago
repository Fix content size does not match error when uploading lfs file (#29259) 12 months ago
secrets Refactor deletion (#28610) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Unify password changing and invalidate auth tokens (#27625) 1 year ago
webhook Abstract hash function usage (#28138) 1 year ago
wiki Fix an actions schedule bug (#28942) 1 year ago