From de5e3115d5f0da6dc3c5b32cdc0fa6304ed31b2f Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 26 Apr 2023 13:54:41 +0100 Subject: [PATCH] Try using github app auth with new secrets (#71) --- .../update-completed-sprint-on-issue-closed.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-completed-sprint-on-issue-closed.yml b/.github/workflows/update-completed-sprint-on-issue-closed.yml index 881ed99c..3814f288 100644 --- a/.github/workflows/update-completed-sprint-on-issue-closed.yml +++ b/.github/workflows/update-completed-sprint-on-issue-closed.yml @@ -10,8 +10,16 @@ jobs: update-completed-sprint: runs-on: ubuntu-latest steps: - - uses: paulbellamy/stellar-actions/update-completed-sprint-on-issue-closed@update-completed-sprint-on-issue-closed + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@c2055a00597a80f713b78b1650e8d3418f4d9a65 + with: + app_id: ${{ secrets.GH_PROJECT_MANAGEMENT_APP_ID }} + private_key: ${{ secrets.GH_PROJECT_MANAGEMENT_APP_PEM }} + - name: Update CompletedSprint on Issue Closed + id: update_completedsprint_on_issue_closed + uses: paulbellamy/stellar-actions/update-completed-sprint-on-issue-closed@update-completed-sprint-on-issue-closed with: project_name: "Platform Scrum" field_name: "CompletedSprint" - project_token: ${{ secrets.GHPROJECT_TOKEN }} + project_token: ${{ steps.generate_token.outputs.token }}