We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d5974e + 4e32026 commit d3ddd17Copy full SHA for d3ddd17
.github/workflows/auto-review.yml
@@ -11,7 +11,6 @@ jobs:
11
pull-requests: write
12
contents: read
13
issues: write
14
- read:org: read
15
16
steps:
17
- name: Checkout code
@@ -27,9 +26,16 @@ jobs:
27
26
python -m pip install --upgrade pip
28
pip install pyyaml
29
+ - name: Generate Bootc Actions Token
30
+ id: bootc_token
31
+ uses: actions/create-github-app-token@v1
32
+ with:
33
+ app-id: ${{ secrets.APP_ID }}
34
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
35
+
36
- name: Assign reviewer
37
env:
38
PR_NUMBER: ${{ github.event.pull_request.number }}
- GH_TOKEN: ${{ github.token }}
39
+ GH_TOKEN: ${{ steps.bootc_token.outputs.token }}
40
run: |
41
python .github/scripts/assign_reviewer.py
0 commit comments