aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pr_triage.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr_triage.yml')
-rw-r--r--.github/workflows/pr_triage.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/pr_triage.yml b/.github/workflows/pr_triage.yml
index cd90e645..448e2c7d 100644
--- a/.github/workflows/pr_triage.yml
+++ b/.github/workflows/pr_triage.yml
@@ -27,9 +27,11 @@ jobs:
sync-labels: true
dot: true
+ - run: pip3 install PyGithub
+
- name: Assign reviewers
- if: ! github.event.pull_request.draft
run: |
- pip3 install PyGithub
- python3 .github/update_reviewers.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.pull_request.number }} .github/reviewers.yml
+ python3 .github/update_reviewers.py ${{ secrets.MAKO_APP_ID }} "MAKO_PRIVATE_KEY" ${{ secrets.MAKO_INSTALLATION_ID }} ${{ github.repository }} ${{ github.event.pull_request.number }} .github/reviewers.yml
shell: bash
+ env:
+ MAKO_PRIVATE_KEY: ${{ secrets.MAKO_PRIVATE_KEY }}