Skip to content

Commit 56469c4

Browse files
committed
group prs gh action firt commit
1 parent 04ba897 commit 56469c4

File tree

8 files changed

+6818
-2
lines changed

8 files changed

+6818
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ typings/
8080

8181
# Nuxt.js build / generate output
8282
.nuxt
83-
dist
8483

8584
# Gatsby files
8685
.cache/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Javascript Github Action that fetches open pull requests with a specific label
44

55
## Inputs
66

7-
### `detect-label`
7+
### `target-label`
88

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

action.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Group Pull Requests'
2+
description: 'Groups open Pull requests with a specific label'
3+
inputs:
4+
target-label:
5+
description: 'Target label to fetch for PRs'
6+
required: true
7+
default: 'stage-ready'
8+
exclude-current:
9+
description: 'Whether or not to exclude the current PR target branch'
10+
default: false
11+
repo-token:
12+
description: 'Github token secret'
13+
required: true
14+
default: "SECRETTOKEN"
15+
16+
outputs:
17+
branches:
18+
description: 'Grouped target branches (comma separated)'
19+
runs:
20+
using: 'node12'
21+
main: 'dist/index.js'

0 commit comments

Comments
 (0)