From b5561b15af7bfb4ea4deb7757d17c337cd4ed5fc Mon Sep 17 00:00:00 2001 From: Kate Brenner Date: Tue, 26 Sep 2023 09:24:28 -0400 Subject: [PATCH] update issue commands --- .github/workflows/issue-commands.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-commands.yml b/.github/workflows/issue-commands.yml index 701047f3..688151ee 100644 --- a/.github/workflows/issue-commands.yml +++ b/.github/workflows/issue-commands.yml @@ -17,8 +17,14 @@ jobs: ref: main - name: Install Actions run: npm install --production --prefix ./actions + - name: "Generate token" + id: generate_token + uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 + with: + app_id: ${{ secrets.AWS_DS_TOKEN_CREATOR_ID }} + private_key: ${{ secrets.AWS_DS_TOKEN_CREATOR_PEM }} - name: Run Commands uses: ./actions/commands with: - token: ${{secrets.ISSUE_COMMANDS_TOKEN}} - configPath: issue_commands \ No newline at end of file + token: ${{ steps.generate_token.outputs.token }} + configPath: issue_commands