forgejo/modules
Zettat123 bd1946e372
Fix activity type match in matchPullRequestEvent () ()
Backport 

Fix 
Caused by 

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-10 09:30:46 -04:00
..
actions Fix activity type match in matchPullRequestEvent () () 2023-07-10 09:30:46 -04:00
activitypub Add Chef package registry () 2023-02-06 09:49:21 +08:00
analyze Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
auth Fix various bugs for "install" page () () 2023-03-05 11:59:58 +01:00
avatar Unify hashing for avatar () 2023-01-02 22:46:39 +01:00
base Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
cache Update redis library to support redis v7 () () 2023-04-17 02:34:59 -04:00
charset Fix isAllowed of escapeStreamer () 2023-02-09 20:51:36 +08:00
container Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
context Fix open redirect check for more cases () () 2023-06-08 13:03:15 -04:00
csv Add context when rendering labels or emojis () () 2023-03-06 10:32:40 -06:00
doctor Check LFS/Packages settings in dump and doctor command () () 2023-03-27 16:28:22 +08:00
emoji Fix unstable emoji sort () 2023-01-05 13:58:51 +02:00
eventsource Move convert package to services () 2022-12-29 10:57:15 +08:00
generate Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
git Merge different languages for language stats () () 2023-05-25 07:12:21 +02:00
gitgraph Add context cache as a request level cache () 2023-02-15 21:37:34 +08:00
graceful Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
hcaptcha Consume hcaptcha and pwn deps () 2023-01-29 09:49:51 -06:00
highlight Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
hostmatcher Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
html Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
httpcache Set X-Gitea-Debug header once () () 2023-03-09 06:33:05 +08:00
httplib Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
indexer Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
issue/template Allow issue templates to not render title () 2023-01-26 22:45:49 -06:00
json Update gitea-vet to check FSFE REUSE () 2022-12-02 22:14:57 +08:00
label Make label templates have consistent behavior and priority () () 2023-04-12 16:05:10 +02:00
lfs Make minio package support legacy MD5 checksum () () 2023-03-29 00:02:13 +08:00
log Improve trace logging for pulls and processes () 2023-02-03 18:11:48 -05:00
markup Fix task list checkbox toggle to work with YAML front matter () () 2023-06-13 20:22:59 +02:00
mcaptcha Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
metrics include build info in Prometheus metrics () 2023-02-08 19:54:01 +02:00
migration Scoped labels () 2023-02-18 21:17:39 +02:00
mirror Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
nosql Update redis library to support redis v7 () () 2023-04-17 02:34:59 -04:00
notification Match unqualified references when syncing pulls as well () 2023-05-29 11:32:32 +02:00
options Introduce path Clean/Join helper functions, partially backport&refactor () () 2023-03-22 19:56:20 +08:00
packages Use import of OCI structs () 2023-02-06 10:07:09 +00:00
paginator Update gitea-vet to check FSFE REUSE () 2022-12-02 22:14:57 +08:00
pprof Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
private Implement actions () 2023-01-31 09:45:19 +08:00
process Improve trace logging for pulls and processes () 2023-02-03 18:11:48 -05:00
proxy Use proxy for pull mirror () 2023-02-11 08:39:50 +08:00
proxyprotocol Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
public Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
queue Skip known flaky queue tests on CI environment () 2023-04-30 15:25:42 -04:00
recaptcha Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
references Use correct captured group range when parsing cross-reference () 2023-01-31 10:08:05 +01:00
regexplru Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
repository Make label templates have consistent behavior and priority () () 2023-04-12 16:05:10 +02:00
secret Improve decryption failure message () () 2023-05-07 22:12:32 +08:00
session Update redis library to support redis v7 () () 2023-04-17 02:34:59 -04:00
setting Fix Actions being enabled accidentally () () 2023-05-19 15:17:48 +02:00
sitemap Fix sitemap () 2022-12-30 23:31:00 +08:00
ssh Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
storage Make minio package support legacy MD5 checksum () () 2023-03-29 00:02:13 +08:00
structs Fix Org edit page bugs: renaming detection, maxlength () () 2023-04-17 12:20:47 -04:00
svg Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
sync Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
system Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
templates Fix custom mailer template on Windows () 2023-04-12 12:16:40 -04:00
test Rename repo.GetOwner to repo.LoadOwner () 2023-02-18 20:11:03 +08:00
timeutil Make time tooltips interactive () () 2023-03-16 16:23:11 -05:00
translation Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
turnstile Add new captcha: cloudflare turnstile () 2023-02-05 15:29:03 +08:00
typesniffer Do not recognize text files as audio () () 2023-03-08 16:03:05 +08:00
updatechecker Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
upload Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
uri Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
user Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
util Fix cases.Title crash for concurrency () () 2023-04-04 01:26:14 +02:00
validation Map OIDC groups to Orgs/Teams () 2023-02-08 14:44:42 +08:00
watcher Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Map OIDC groups to Orgs/Teams () 2023-02-08 14:44:42 +08:00
webhook Restructure webhook module () 2023-01-01 23:23:15 +08:00