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/actions
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>
2 years ago
..
github.go Support `pull_request_target` event (#25229) 2 years ago
github_test.go Support `pull_request_target` event (#25229) 2 years ago
log.go Support downloading raw task logs (#24451) 2 years ago
task_state.go Implement actions (#21937) 2 years ago
task_state_test.go Implement actions (#21937) 2 years ago
workflows.go Fix activity type match in `matchPullRequestEvent` (#25746) 2 years ago
workflows_test.go Fix activity type match in `matchPullRequestEvent` (#25746) 2 years ago