mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
23 lines
521 B
YAML
23 lines
521 B
YAML
name: Label issues
|
|
on:
|
|
issues:
|
|
types:
|
|
- reopened
|
|
- opened
|
|
|
|
jobs:
|
|
label_issues:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'withastro/astro'
|
|
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: ["needs triage"]
|
|
})
|