andreahlert opened a new issue, #696:
URL: https://github.com/apache/burr/issues/696
Part of #690
Create a GitHub Actions workflow that automatically applies
`status/needs-triage` to new issues. This ensures nothing falls through the
cracks and makes the triage queue visible.
### Proposed workflow
`.github/workflows/auto-label.yml`:
```yaml
name: Auto-label new issues
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['status/needs-triage']
})
```
### Future automation (optional)
- Auto-apply `area/*` labels based on file paths changed in PRs (similar to
Airflow's boring-cyborg)
- Auto-apply `pr/needs-rebase` when a PR has merge conflicts
- Weekly stale check to auto-apply `lifecycle/stale` after 90 days of
inactivity
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]