GitHub Action to automatically update and squash-merge pull requests with the 'autosquash' label.
Autosquash is a GitHub Action that automates the process of updating and merging pull requests. It updates PRs when their base branch receives new commits and squash-merges them once all required status checks pass, streamlining workflows in repositories with strict branch protections.
Development teams using GitHub with branch protections and required status checks who want to automate PR merging and maintain a clean Git history.
It reduces manual intervention by automatically handling PR updates and merges, enforces a squash-and-merge strategy for cleaner commit histories, and integrates seamlessly with GitHub's branch protection features.
:package: GitHub Action to update PRs with outdated checks and squash and merge the ones matching all branch protections
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Updates pull requests when their base branch changes via GitHub's update branch API, ensuring status checks remain current without manual intervention.
Enforces squash-and-merge to condense PR commits into a single cohesive commit, maintaining a clean main branch history as per the project's philosophy on atomic changes.
Uses the PR creator as the main author and adds co-authors for other contributors in the squashed commit, leveraging GitHub's co-author feature for proper credit.
Operates only on pull requests with the 'autosquash' label, allowing teams to selectively automate merges without affecting all PRs.
The README states that focus has shifted to Auto-update, indicating reduced maintenance and potential obsolescence, making it less future-proof.
Only supports squash-and-merge, excluding other common strategies like regular or rebase-and-merge, which may not align with all team workflows or Git history preferences.
Relies entirely on GitHub's ecosystem, including branch protections and APIs, so it's incompatible with other version control platforms like GitLab or Bitbucket.