Skip to content

Commit

Permalink
Merge pull request #201 from AlexVCaron/infra/github
Browse files Browse the repository at this point in the history
Infra/GitHub
  • Loading branch information
AlexVCaron authored Sep 7, 2024
2 parents 129a88e + 9b45e10 commit 71c5884
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@ options:
- WIP
- Work in progress
enable_group_assignments: true
number_of_reviewers: 2
last_files_match_only: false
10 changes: 9 additions & 1 deletion .github/workflows/review_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ jobs:
name: Assign reviewers
runs-on: ubuntu-latest
permissions:
contents: read
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 71c5884

Please sign in to comment.