Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minhomega/auto-merge
GitHub Action to automatically merge pull requests after they have received the required approvals.
https://github.com/minhomega/auto-merge
actions approval auto-merge automation containers continuous-integration continuous-integration-and-deployment developer-tools devops docker github-action github-actions golang productivity pull-requests software-development workflow
Last synced: 2 months ago
JSON representation
GitHub Action to automatically merge pull requests after they have received the required approvals.
- Host: GitHub
- URL: https://github.com/minhomega/auto-merge
- Owner: MinhOmega
- License: mit
- Created: 2024-07-22T04:39:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-31T06:09:51.000Z (6 months ago)
- Last Synced: 2024-09-14T12:13:05.708Z (5 months ago)
- Topics: actions, approval, auto-merge, automation, containers, continuous-integration, continuous-integration-and-deployment, developer-tools, devops, docker, github-action, github-actions, golang, productivity, pull-requests, software-development, workflow
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto Merge PRs
A GitHub Action to automatically merge pull requests after they have received the required approvals.
## Usage
To use this action, create a workflow YAML file in your .github/workflows directory in your GitHub repository. Here is an example:
```yaml
name: Auto-Merge-PRson:
pull_request:
types: [opened, reopened, synchronize]jobs:
auto-merge:
runs-on: ubuntu-lateststeps:
- name: Checkout repository
uses: actions/checkout@v2- name: Run Auto-Merge PRs
uses: MinhOmega/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
```## Inputs
| Input | Description | Required | Default |
|------------------|----------------------------------------------------|----------|---------|
| `sleep_duration` | Duration to sleep between checks (in seconds) | false | `5` |
| `timeout_minutes`| Timeout for the merge process (in minutes) | false | `1440` |
| `base_branch` | Base branch to check against | false | `master`|
| `github_token` | GitHub token for authentication | true | N/A |## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.