From c35700bedd6071811571cef19f15ec74ff3944a0 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Tue, 25 Jun 2024 16:58:43 +0800 Subject: [PATCH] Fix usage of wrong secret in GitHub App token generation --- .github/workflows/triageops.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/triageops.yml b/.github/workflows/triageops.yml index 9c34d42..eeeb614 100644 --- a/.github/workflows/triageops.yml +++ b/.github/workflows/triageops.yml @@ -19,6 +19,7 @@ permissions: contents: read jobs: + ######################## AUTOMATED ######################## new-thread-setup: name: Setup new thread runs-on: ubuntu-latest @@ -30,7 +31,7 @@ jobs: id: app-token with: app-id: ${{ secrets.GH_RTDEV_APP_ID }} - private-key: ${{ secrets.GH_RTDEV_APP_ID }} + private-key: ${{ secrets.GH_RTDEV_APP_KEY }} owner: recaptime-dev - uses: actions/checkout@v3 @@ -94,6 +95,7 @@ jobs: section: role token: ${{ steps.app-token.outputs.token }} + ######################## MANUAL ACTIONS ######################## new-thread-setup-manual: name: 'Setup new thread [manual triggered]' runs-on: ubuntu-latest @@ -105,7 +107,7 @@ jobs: id: app-token with: app-id: ${{ secrets.GH_RTDEV_APP_ID }} - private-key: ${{ secrets.GH_RTDEV_APP_ID }} + private-key: ${{ secrets.GH_RTDEV_APP_KEY }} owner: recaptime-dev - uses: actions/checkout@v3