diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 2dcc477a..239b750c 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -87,6 +87,10 @@ jobs: # chain; the second PR must wait or rebase. runs-on: ubuntu-latest timeout-minutes: 5 + permissions: + # gh pr list against the default GITHUB_TOKEN. + contents: read + pull-requests: read steps: # gh expands --json files via git, so it needs the repo checked out. - uses: actions/checkout@v4