Zettat123 c1a10be07e
Fix activity type match in matchPullRequestEvent (#25746) (#25796)
Backport #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.
2023-07-11 06:42:07 +00:00
..
2023-04-17 11:37:23 +08:00
2023-01-05 13:58:51 +02:00
2023-05-21 22:35:11 +00:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00