This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nirsky
committed
Mar 1, 2021
1 parent
15581f7
commit a611fa6
Showing
1 changed file
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
# enable-pr-automerge-action | ||
# enable-pr-automerge-action | ||
## What does this action do? | ||
Enable auto-merge on a pull request in any repo from any CI | ||
|
||
## Inputs | ||
### `token` | ||
Github token to perform the action with. | ||
### `owner` | ||
Organization/user which owns the repo. | ||
|
||
### `repo` | ||
repo name. | ||
### `pull-number` | ||
Pull request number. | ||
|
||
### `merge-method` (optional) | ||
One of "SQUASH", "MERGE" or "REBASE". Default is "SQUASH". | ||
## Example Usage | ||
|
||
```yaml | ||
- name: Enable automerge on a repository | ||
uses: aspecto-io/enable-pr-automerge-action@master | ||
with: | ||
token: ${{ secrets.MY_GITHUB_TOKEN }} | ||
owner: 'my-org' | ||
repo: 'my-repo' | ||
pull-number: '102' | ||
merge-method: 'SQUASH' | ||
``` |