Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
pull-requests: write
contents: read
issues: write
read:org: read

steps:
- name: Checkout code
Expand All @@ -27,9 +26,16 @@ jobs:
python -m pip install --upgrade pip
pip install pyyaml

- name: Generate Bootc Actions Token
id: bootc_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Assign reviewer
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ steps.bootc_token.outputs.token }}
run: |
python .github/scripts/assign_reviewer.py