0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 13:49:10 +01:00
gitea/modules/actions
Zettat123 e7f0bcf884
Improve workflow event triggers (#23613)
Follow #23037 
Fix [#22598
comment](https://github.com/go-gitea/gitea/issues/22958#issuecomment-1475763042)

Workflows with `pull_request` trigger event can't be triggered by
`pull_request_sync` event. This PR adds the `canGithubEventMatch`
function to check if a Github event can match any Gitea event. If the
Github event matches a Gitea event, the related workflows should be
triggered.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-03-23 12:04:15 +08:00
..
github.go Improve workflow event triggers (#23613) 2023-03-23 12:04:15 +08:00
github_test.go Improve workflow event triggers (#23613) 2023-03-23 12:04:15 +08:00
log.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
workflows.go Improve workflow event triggers (#23613) 2023-03-23 12:04:15 +08:00