forgejo/modules
Zettat123 7586b5815a
Fix activity type match in matchPullRequestEvent (#25746)
Fix #25736 
Caused by #24048

Right now we only check the activity type for `pull_request` event when
`types` is specified or there are no `types` and filter. If a workflow
only specifies filters but no `types` like this:
```
on:
  pull_request:
    branches: [main]
```
the workflow will be triggered even if the activity type is not one of
`[opened, reopened, sync]`. We need to check the activity type in this
case.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-07 16:30:07 +00:00
..
actions Fix activity type match in matchPullRequestEvent (#25746) 2023-07-07 16:30:07 +00:00
activitypub
analyze
assetfs
auth
avatar Add unit test for HashAvatar (#25662) 2023-07-04 12:43:38 +00:00
base Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
cache Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
charset Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
container
context Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
csv
doctor Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
emoji Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
eventsource Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
generate
git Sync branches when mirroring (#25722) 2023-07-06 13:18:37 +02:00
gitgraph
graceful Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
hcaptcha
highlight
hostmatcher
html Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
httpcache Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
httplib Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
indexer Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
issue/template Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
json Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
label
lfs
log Fix sub-command log level (#25537) 2023-06-28 08:02:06 +02:00
markup Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
mcaptcha
metrics Use a separate admin page to show global stats, remove actions stat (#25062) 2023-06-03 22:03:41 +08:00
migration Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
mirror Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
nosql Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
notification Add Adopt repository event and handler (#25497) 2023-06-26 06:59:15 +00:00
options
packages Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
paginator
pprof
private Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
process Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
proxy
proxyprotocol
public
queue Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
recaptcha
references
regexplru
repository Fix branch commit message too long problem (#25588) 2023-06-30 17:03:05 +08:00
secret
session Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
setting Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
sitemap
ssh Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00
storage Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
structs Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
svg Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
sync
system
templates Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
test Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
testlogger Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
timeutil
translation Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
turnstile
typesniffer
updatechecker
upload
uri
user
util Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
validation Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
web Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
webhook