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 the issue_comment workflow trigger event (#29277) #29322

Merged
merged 1 commit into from
Feb 22, 2024

Commits on Feb 22, 2024

  1. Improve the issue_comment workflow trigger event (go-gitea#29277)

    Fix go-gitea#29175
    Replace go-gitea#29207
    
    This PR makes some improvements to the `issue_comment` workflow trigger
    event.
    
    1. Fix the bug that pull requests cannot trigger `issue_comment`
    workflows
    2. Previously the `issue_comment` event only supported the `created`
    activity type. This PR adds support for the missing `edited` and
    `deleted` activity types.
    3. Some events (including `issue_comment`, `issues`, etc. ) only trigger
    workflows that belong to the workflow file on the default branch. This
    PR introduces the `IsDefaultBranchWorkflow` function to check for these
    events.
    Zettat123 authored and GiteaBot committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    f1cffe5 View commit details
    Browse the repository at this point in the history