···4 pull_request:
5 paths:
6 - .github/workflows/eval.yml
7- - .github/workflows/reviews.yml # needs eval results from the same event type
8 pull_request_target:
9 push:
10 # Keep this synced with ci/request-reviews/dev-branches.txt
···4 pull_request:
5 paths:
6 - .github/workflows/eval.yml
7+ - .github/workflows/reviewers.yml # needs eval results from the same event type
8 pull_request_target:
9 push:
10 # Keep this synced with ci/request-reviews/dev-branches.txt
+1-1
.github/workflows/reviewers.yml
···44 # See ./codeowners-v2.yml, reuse the same App because we need the same permissions
45 # Can't use the token received from permissions above, because it can't get enough permissions
46 - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
47- if: vars.OWNER_APP_ID
48 id: app-token
49 with:
50 app-id: ${{ vars.OWNER_APP_ID }}
···44 # See ./codeowners-v2.yml, reuse the same App because we need the same permissions
45 # Can't use the token received from permissions above, because it can't get enough permissions
46 - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
47+ if: github.event_name == 'pull_request_target' && vars.OWNER_APP_ID
48 id: app-token
49 with:
50 app-id: ${{ vars.OWNER_APP_ID }}