Skip to content

Commit

Permalink
Added untriaged issue workflow. (opensearch-project#317)
Browse files Browse the repository at this point in the history
* Created untriaged issue workflow.

Signed-off-by: dblock <dblock@amazon.com>

* Rebasing with main and fixing spotless errors

Signed-off-by: Joshua Palis <jpalis@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Joshua Palis <jpalis@amazon.com>
Co-authored-by: Joshua Palis <jpalis@amazon.com>
  • Loading branch information
dblock and joshpalis authored Feb 15, 2023
1 parent 6448a32 commit d04a238
Showing 1 changed file 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']
})

0 comments on commit d04a238

Please sign in to comment.