Skip to content

Commit

Permalink
Merge pull request #181 from aravindputrevu/main
Browse files Browse the repository at this point in the history
[GitOps] Add triage label workflow
  • Loading branch information
VisargD authored Feb 2, 2024
2 parents 690ced2 + 45c5d28 commit c7da3d6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/triage-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Auto Triage Label

on:
issues:
types: [opened]

jobs:
label_issues:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Add Triage Label
uses: actions/github-script@v7.0.1
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['triage']
})
github-token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit c7da3d6

Please # to comment.