Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve workflow event triggers (#23613) #23648

Merged
merged 1 commit into from
Mar 23, 2023

Commits on Mar 23, 2023

  1. Improve workflow event triggers (go-gitea#23613)

    Follow go-gitea#23037 
    Fix [go-gitea#22598
    comment](go-gitea#22958 (comment))
    
    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>
    2 people authored and GiteaBot committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    b3b864e View commit details
    Browse the repository at this point in the history