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

Add automerge pipeline #107

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Add automerge pipeline #107

merged 1 commit into from
Nov 15, 2023

Conversation

ifosch
Copy link

@ifosch ifosch commented Nov 15, 2023

Implementing pull request workflow using GitHub's auto-merge feature. The problem with this GH feature is that it has to be activated manually for every PR. So this action will automatically enable auto merge for every PR when:

  • it is opened
  • it is re-opened
  • it is changed from "draft" to "ready for review"

If it's a draft PR or auto-merge is already enabled, this action won't run.

After that, the branch protection rules will ensure that:

  • the PR has at least 2 approvals
  • there are no requested changes
  • the branch is mergeable

References:

@github-actions github-actions bot merged commit 1ed2e8b into develop Nov 15, 2023
1 check passed
@github-actions github-actions bot deleted the automerge branch November 15, 2023 15:58
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

Successfully merging this pull request may close these issues.

1 participant