Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
[Infrastructure] Add untriaged label to issues workflow (opensearch…
Browse files Browse the repository at this point in the history
…-project#3073)

Credit to Peter Nied <[email protected]> via opensearch-project/.github#111

Signed-off-by: Josh Romero <[email protected]>

Signed-off-by: Josh Romero <[email protected]>
Signed-off-by: David Sinclair <[email protected]>
  • Loading branch information
joshuarrrr authored and sikhote committed Apr 24, 2023
1 parent 509e3bc commit cbc2944
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, 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 cbc2944

Please sign in to comment.