Files
clang-p2996/.github/workflows/new-issues.yml
Tom Stellard 06cf4f9704 workflows/new-issues: Use an llvmbot token to add labels (#120840)
There is a separate job that mentions teams based on the label added,
and this job won't run if we use the default github token.
2025-01-03 15:06:35 -08:00

24 lines
545 B
YAML

name: Labeling new issues
on:
issues:
types: ['opened']
permissions:
contents: read
jobs:
automate-issues-labels:
permissions:
issues: write
runs-on: ubuntu-latest
if: github.repository == 'llvm/llvm-project'
steps:
- uses: llvm/actions/issue-labeler@main
with:
repo-token: ${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}
configuration-path: .github/new-issues-labeler.yml
include-title: 1
include-body: 0
sync-labels: 0
enable-versioned-regex: 0