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/modules
Giteabot fdb0d03083
Improve the `issue_comment` workflow trigger event (#29277) (#29322)
Backport #29277 by @Zettat123

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.

Co-authored-by: Zettat123 <zettat123@gmail.com>
1 year ago
..
actions Improve the `issue_comment` workflow trigger event (#29277) (#29322) 1 year ago
activitypub More refactoring of `db.DefaultContext` (#27083) 1 year ago
analyze Rename code_langauge.go to code_language.go (#26377) 2 years ago
assetfs Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2 years ago
auth Next round of `db.DefaultContext` refactor (#27089) 1 year ago
avatar Remove nfnt/resize and oliamb/cutter (#25999) 2 years ago
base Replace `interface{}` with `any` (#25686) 2 years ago
cache improve unit test for caching (#26185) 2 years ago
charset Preserve BOM in web editor (#28935) (#28959) 1 year ago
container Implement FSFE REUSE for golang files (#21840) 2 years ago
context Prevent anonymous container access if `RequireSignInView` is enabled (#28877) (#28882) 1 year ago
contexttest Improve user experience for outdated comments (#29050) (#29086) 1 year ago
csv Refactor locale number (#24134) 2 years ago
doctor Initalize stroage for orphaned repository doctor (#28487) (#28490) 1 year ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
generate Handle base64 decoding correctly to avoid panic (#26483) 2 years ago
git Discard unread data of `git cat-file` (#29297) (#29310) 1 year ago
gitgraph More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
graceful Allow the use of alternative net.Listener implementations by downstreams (#25855) 2 years ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Add option to disable ambiguous unicode characters detection (#28454) (#28499) 1 year ago
hostmatcher Support allowed hosts for webhook to work with proxy (#27655) (#27675) 1 year ago
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Less naked returns (#25713) 2 years ago
httplib Less naked returns (#25713) 2 years ago
indexer fix: Elasticsearch: Request Entity Too Large #28117 (#29062) (#29075) 1 year ago
issue/template Replace `interface{}` with `any` (#25686) 2 years ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Refactor lfs requests (#26783) 1 year ago
log Reduce some allocations in type conversion (#26772) 2 years ago
markup Fix orgmode link resolving (#29024) (#29076) 1 year ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Reduce usage of `db.DefaultContext` (#27073) 1 year ago
migration Replace `interface{}` with `any` (#25686) 2 years ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Close all hashed buffers (#27787) (#27790) 1 year ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Use correct `has error` check for internal responses (#28796) (#28798) 1 year ago
process Less naked returns (#25713) 2 years ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Refactor CORS handler (#28587) (#28611) 1 year ago
queue Increase queue length (#27555) (#27562) 1 year ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Always write proc-receive hook for all git versions (#29287) (#29291) 1 year ago
secret Improve decryption failure message (#24573) 2 years ago
session Next round of `db.DefaultContext` refactor (#27089) 1 year ago
setting Fix incorrect PostgreSQL connection string for Unix sockets (#28865) (#28870) 1 year ago
sitemap Fix sitemap (#22272) 2 years ago
ssh restrict certificate type for builtin SSH server (#26789) 1 year ago
storage Fix object storage path handling (#27024) 1 year ago
structs chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) 1 year ago
svg Refactor backend SVG package and add tests (#26335) 2 years ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Implement FSFE REUSE for golang files (#21840) 2 years ago
templates Rework markup link rendering (#26745) (#28803) 1 year ago
test Move web/api context related testing function into a separate package (#26859) 1 year ago
testlogger Replace `interface{}` with `any` (#25686) 2 years ago
timeutil Make template `DateTime` show proper tooltip (#28677) (#28683) 1 year ago
translation Replace `interface{}` with `any` (#25686) 2 years ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Detect ogg mime-type as audio or video (#26494) 2 years ago
updatechecker Implement FSFE REUSE for golang files (#21840) 2 years ago
upload Implement FSFE REUSE for golang files (#21840) 2 years ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Add option to disable ambiguous unicode characters detection (#28454) (#28499) 1 year ago
validation Check blocklist for emails when adding them to account (#26812) 2 years ago
web Refactor CORS handler (#28587) (#28611) 1 year ago
webhook Fix schedule tasks bugs (#28691) (#28780) 1 year ago