Skip to content

Commit

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

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

* Remove existing untriaged workflow with wrong name

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
  • Loading branch information
2 people authored and Arpit-Bandejiya committed Mar 8, 2023
1 parent 10b020d commit 4ab8369
Showing 1 changed file with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +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']
})
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 4ab8369

Please sign in to comment.