diff options
author | Zettat123 <zettat123@gmail.com> | 2023-03-23 12:04:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:04:15 +0800 |
commit | e7f0bcf8847330d646300b60d9fda119da7e97dc (patch) | |
tree | 6bbdd21eeb434ae8c1b76609882f41ae5f1b3a1a /docs/content/doc/usage/authentication.en-us.md | |
parent | 389e83f7eb68c43f6f0313b20acde547aef12442 (diff) | |
download | gitea-e7f0bcf8847330d646300b60d9fda119da7e97dc.tar.gz gitea-e7f0bcf8847330d646300b60d9fda119da7e97dc.zip |
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>
Diffstat (limited to 'docs/content/doc/usage/authentication.en-us.md')
0 files changed, 0 insertions, 0 deletions