Skip to content

Commit

Permalink
Merge pull request #1 from luisgj/chore/readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
luisgj authored Dec 21, 2020
2 parents 073e41f + 68cec10 commit 04ba897
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
# group-pull-requests
A Javascript Github Action that fetches open pull requests with a specific tag and returns the grouped source branches.
# Group Pull Requests Github Action

A Javascript Github Action that fetches open pull requests with a specific label and returns the grouped source branches.

## Inputs

### `detect-label`

**Required** The label that all Pull Requests must contain to be grouped.

### `repo-token`

**Required** The token secret stored in `secrets.GITHUB_TOKEN`

## Outputs

### `branches`

Grouped list of open branches with the same tag

## Example usage

```yaml
uses: luisgj/[email protected]
with:
detect-label: 'stage-ready'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
```

0 comments on commit 04ba897

Please sign in to comment.