mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
19 lines
411 B
YAML
19 lines
411 B
YAML
name: Auto-label new issues
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
jobs:
|
|
add-triage:
|
|
if: github.event.issue.pull_request == null
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
steps:
|
|
- run: gh issue edit "$NUMBER" --add-label triage
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
GH_REPO: ${{ github.repository }}
|
|
NUMBER: ${{ github.event.issue.number }}
|