Created untriaged issue workflow. (#2879)
Signed-off-by: dblock <dblock@amazon.com>
This commit is contained in:
parent
519a400976
commit
b9a8c86ec3
|
@ -0,0 +1,19 @@
|
|||
name: Apply 'untriaged' label during issue lifecycle
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, reopened, transferred]
|
||||
|
||||
jobs:
|
||||
apply-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
github.rest.issues.addLabels({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
labels: ['untriaged']
|
||||
})
|
Loading…
Reference in New Issue