Skip to content

Configure Github workflow and job level permissions #770

Configure Github workflow and job level permissions

Configure Github workflow and job level permissions #770

Workflow file for this run

name: Labeler
on:
pull_request:
branches:
- main
# Permission forced by repo-level setting; only elevate on job-level
permissions:
contents: read
# packages: read
jobs:
label:
name: Add label for PRs
runs-on: ubuntu-latest
permissions:
pull-requests: write
timeout-minutes: 5
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/workflows/labeler/labels.yaml