Skip to content

Commit

Permalink
Create label-issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeHackett12 authored Mar 13, 2024
1 parent 430bbc0 commit 0f1252f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Label issues
on:
issues:
types:
- reopened
- 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: ["api-squad"]
})

0 comments on commit 0f1252f

Please sign in to comment.