Skip to content

Commit

Permalink
Add github workflow to add 'untriage' label during issue lifecycle ev…
Browse files Browse the repository at this point in the history
…ents

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
  • Loading branch information
peternied committed Dec 1, 2022
1 parent 1fe14d0 commit 4c22de9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/add-untriaged.yml
Original file line number Diff line number Diff line change
@@ -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']
})
File renamed without changes.

0 comments on commit 4c22de9

Please sign in to comment.