chore: grant pull-requests read for paths-filter API
parent
0fd2dfe780
commit
6b75fbdbd0
|
|
@ -15,6 +15,12 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue