chore: grant pull-requests read for paths-filter API

pull/65/head
VinPropane 2026-05-04 20:24:35 -04:00
parent 0fd2dfe780
commit 6b75fbdbd0
1 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,12 @@ on:
pull_request:
branches: [main]
# dorny/paths-filter reads the PR file list from the GitHub API; the default token
# scope is too narrow without pull-requests:read ("Resource not accessible by integration").
permissions:
contents: read
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest