From a3804d45e9ca07a191cebd0f97b1cd0c2e03614c Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Thu, 7 Nov 2024 14:52:58 -0300 Subject: [PATCH] Update workflows to use tibdex/github-app-token@v2.1.0 for improved installation retrieval method and enhanced functionality --- .github/workflows/auto-release.yml | 7 +++++-- .github/workflows/backport.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 5cad7c438..82a0f4d9d 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -14,11 +14,14 @@ jobs: steps: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@v1.5.0 + uses: tibdex/github-app-token@v2.1.0 with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + # https://github.com/tibdex/github-app-token/releases/tag/v2.0.0 + # https://github.com/tibdex/github-app-token/compare/v1.5.0...v2.1.0#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R11-R30 + installation_retrieval_mode: id + installation_retrieval_payload: 22958780 - name: Get tag id: tag uses: dawidd6/action-get-tag@v1 diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index e47d8d88c..87069a714 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -15,11 +15,14 @@ jobs: steps: - name: GitHub App token id: github_app_token - uses: tibdex/github-app-token@v1.5.0 + uses: tibdex/github-app-token@v2.1.0 with: app_id: ${{ secrets.APP_ID }} private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + # https://github.com/tibdex/github-app-token/releases/tag/v2.0.0 + # https://github.com/tibdex/github-app-token/compare/v1.5.0...v2.1.0#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6R11-R30 + installation_retrieval_mode: id + installation_retrieval_payload: 22958780 - name: Backport uses: VachaShah/backport@v1.1.4