Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nirsky committed Mar 1, 2021
1 parent 15581f7 commit a611fa6
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
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'
```

0 comments on commit a611fa6

Please sign in to comment.