Add read permission for flux local diff workflow #1032
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "Labeler" | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
branches: ["main"] | |
jobs: | |
labeler: | |
name: Labeler | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Labeler | |
uses: actions/labeler@v5 | |
with: | |
configuration-path: .github/labeler.yaml |