Skip to content

Commit

Permalink
any new issues should have an 'untriaged' label added by default to c…
Browse files Browse the repository at this point in the history
…all out that we need to read it to ensure it's at least not a security issue

Signed-off-by: Mark Cohen <markcoh@amazon.com>
  • Loading branch information
macohen committed Jul 11, 2023
1 parent 4b6af1d commit 61ced73
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/add-untriaged-label.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, 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']
})

0 comments on commit 61ced73

Please sign in to comment.