Skip to content

Commit

Permalink
Merge pull request #102 from uswds/al-add-label-workflow
Browse files Browse the repository at this point in the history
USWDS-Sandbox: Create add-issue-labels workflow
  • Loading branch information
mejiaj authored Jun 30, 2023
2 parents ce782f8 + bab697e commit 8b2a6d7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/add-issue-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Label issues
on:
issues:
types:
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
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: ["Status: Triage"]
})

0 comments on commit 8b2a6d7

Please sign in to comment.