···44 pull_request:
55 paths:
66 - .github/workflows/eval.yml
77- - .github/workflows/reviews.yml # needs eval results from the same event type
77+ - .github/workflows/reviewers.yml # needs eval results from the same event type
88 pull_request_target:
99 push:
1010 # Keep this synced with ci/request-reviews/dev-branches.txt
+1-1
.github/workflows/reviewers.yml
···4444 # See ./codeowners-v2.yml, reuse the same App because we need the same permissions
4545 # Can't use the token received from permissions above, because it can't get enough permissions
4646 - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
4747- if: vars.OWNER_APP_ID
4747+ if: github.event_name == 'pull_request_target' && vars.OWNER_APP_ID
4848 id: app-token
4949 with:
5050 app-id: ${{ vars.OWNER_APP_ID }}