Skip to content

Commit

Permalink
Create label_issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
willbakst authored Dec 19, 2024
1 parent b0ca7d7 commit 66bad00
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/label_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Label Issues

on:
issues:
types: [opened]

jobs:
add-labels:
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- name: Add default label
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.name,
issue_number: context.issue.number,
labels: ['mirascope']
})

0 comments on commit 66bad00

Please sign in to comment.