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

feat: Support 'issue_comment' event as trigger for actions #754

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

andekande
Copy link
Contributor

This is intended to be used with lastComment validator, e.g.

version: 2
mergeable:
  - when: issue_comment.*
    validate:
      - do: lastComment
        must_include:
          regex: ^test$
    pass:
      - do: checks
        status: 'success'
      - do: assign
        assignees: ['@author']
      - do: comment
        payload:
          body: >
            @author assigned!
      # - do: close
      # - do: merge
      #   merge_method: 'squash'
    fail:
      - do: checks
        status: 'failure'

@shine2lay shine2lay merged commit 196099e into mergeability:master Jun 18, 2024
2 checks passed
Copy link

🎉 This PR is included in version 2.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants