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

Use Mergify for automatically merge scala-steward's PRs? #249

Open
takayahilton opened this issue Mar 13, 2020 · 2 comments
Open

Use Mergify for automatically merge scala-steward's PRs? #249

takayahilton opened this issue Mar 13, 2020 · 2 comments

Comments

@takayahilton
Copy link
Contributor

Description
Mergify is often used for projects that use scala-steward.

Install Mergify app and write .mergify.yml like this

pull_request_rules:
  - name: automatically merge scala-steward's PRs
    conditions:
      - author=scala-steward
      - status-success=continuous-integration/travis-ci/pr      
      - body~=labels:.*semver-patch
    actions:
      merge:
        method: merge

If the CI is successful and the update is semver-patch, the scala-steward PR will be merged automatically.

@benhutchison
Copy link
Collaborator

That's brilliant. Didn't know about that service but often wished for it

@benhutchison
Copy link
Collaborator

BTW I tried enabling this, but I can't grant mergify permission because I'm not the org owner, I think it needs @etorreborre to enable

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

No branches or pull requests

2 participants