Skip to content

Commit

Permalink
use application token
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Sep 7, 2024
1 parent 739a624 commit 6e50f84
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/review_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
pull-requests: write
if: ${{ github.repository == 'scilus/nf-scil' }}
steps:
- name: Get review assignment token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.REVIEW_APP_ID }}
private-key: ${{ secrets.REVIEW_APP_KEY }}

- uses: necojackarc/[email protected]
with:
config: .github/reviewers.yml
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.generate-token.outputs.token }}

0 comments on commit 6e50f84

Please sign in to comment.