Skip to content

[TEST] check assignment to infra #5

[TEST] check assignment to infra

[TEST] check assignment to infra #5

name: Assign PR reviewers
on:
pull_request:
types: [opened, ready_for_review, reopened]
jobs:
assign-reviewers:
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: ${{ steps.generate-token.outputs.token }}