Skip to content

Commit

Permalink
group prs gh action firt commit
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgj committed Dec 22, 2020
1 parent 04ba897 commit 56469c4
Show file tree
Hide file tree
Showing 8 changed files with 6,818 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ typings/

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A Javascript Github Action that fetches open pull requests with a specific label

## Inputs

### `detect-label`
### `target-label`

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

Expand Down
21 changes: 21 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Group Pull Requests'
description: 'Groups open Pull requests with a specific label'
inputs:
target-label:
description: 'Target label to fetch for PRs'
required: true
default: 'stage-ready'
exclude-current:
description: 'Whether or not to exclude the current PR target branch'
default: false
repo-token:
description: 'Github token secret'
required: true
default: "SECRETTOKEN"

outputs:
branches:
description: 'Grouped target branches (comma separated)'
runs:
using: 'node12'
main: 'dist/index.js'
Loading

0 comments on commit 56469c4

Please sign in to comment.