diff options
| author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-09-04 13:39:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 11:39:25 +0000 |
| commit | 5f771f5661b3f6d77ae15b72727c664d45a37b96 (patch) | |
| tree | e644e4a2aab6658c5f0dc3c83b6080fd6fc8aa3f /.github/workflows | |
| parent | 93cd327873bed829c3a0aad938cb8d2cca2ff806 (diff) | |
Update reviewers using Ryujinx-Mako command (#5635)
* Update reviewers using Ryujinx-Mako command
* Fix worklflow step 'uses' path
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pr_triage.yml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/pr_triage.yml b/.github/workflows/pr_triage.yml index 448e2c7d..10666383 100644 --- a/.github/workflows/pr_triage.yml +++ b/.github/workflows/pr_triage.yml @@ -12,7 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - # Grab sources to get update_reviewers.py and reviewers.yml + - name: Checkout Ryujinx-Mako + uses: actions/checkout@v3 + with: + repository: Ryujinx/Ryujinx-Mako + ref: master + path: '.ryujinx-mako' + + - name: Setup Ryujinx-Mako + uses: ./.ryujinx-mako/.github/actions/setup-mako + + # Grab sources to get latest labeler.yml - name: Fetch sources uses: actions/checkout@v3 with: @@ -27,11 +37,12 @@ jobs: sync-labels: true dot: true - - run: pip3 install PyGithub - - name: Assign reviewers run: | - 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 + poetry -C .ryujinx-mako shell + ryujinx-mako update-reviewers ${{ github.repository }} ${{ github.event.pull_request.number }} .github/reviewers.yml shell: bash env: + MAKO_APP_ID: ${{ secrets.MAKO_APP_ID }} MAKO_PRIVATE_KEY: ${{ secrets.MAKO_PRIVATE_KEY }} + MAKO_INSTALLATION_ID: ${{ secrets.MAKO_INSTALLATION_ID }} |
