Skip to content

chore: added permissions for pr-labeller #1

chore: added permissions for pr-labeller

chore: added permissions for pr-labeller #1

Workflow file for this run

name: Pull Request Labeler

Check failure on line 1 in .github/workflows/pr-labeler.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-labeler.yml

Invalid workflow file

`permissions` is not a valid event name
on:
pull_request:
types: [opened, edited]
permissions:
contents: read
pull_requests: write
jobs:
label_pull_request:
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/multi-labeler@v4
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
config-path: .github/labeler.yml