Configuring Merge Queue on GitHub for Branch Protection
Last updated
Was this helpful?
Last updated
Was this helpful?
EasyCLA is a tool that automates the enforcement of Contributor License Agreements (CLAs) in open-source projects.
The tool integrates with GitHub and other platforms to verify CLA compliance automatically.
To enable this feature, EasyCLA App will need read-only access to the Merge Queue. This permission is essential for the proper functioning of the integration.
GitHub organization with administrative access.
EasyCLA GitHub App installed and configured.
Repository branch protection rules available.
To ensure that the feature works correctly, you must approve the required permissions for the EasyCLA app.
If these permissions are not accepted, you may see an "Expected" status for the EasyCLA check in the Merge Queue, preventing the pull request from merging.
To enable the feature, follow these steps:
Access GitHub organization.
Select Settings.
Select GitHub Apps.
EasyCLA will show an update pending:
Select Review request link.
Accept the permissions:
Before proceeding, check the EasyCLA app and confirm that there are no pending permission requests.
If there are pending permissions, they should be approved to ensure Merge Queue correct functionality with EasyCLA.
If no permissions are pending, proceed to Enabling Merge Queue on GitHub.
Navigate to the GitHub organization repository.
Go to Settings → Branches.
Click Add rule under Branch protection rules.
On the next page, complete following steps:
Add Branch name pattern
Click Require a pull request before merging checkbox
Click Require status checks to pass before merging and select EasyCLA.
Click Require merge queue and update the settings.
Click Create.
For more information, see managing a merge queue.
For more information, see Merging a pull request using merge queue.