From 278905ced342bff0e4d312ddf1a8045b13f018fa Mon Sep 17 00:00:00 2001 From: Vincent Chalamon <407859+vincentchalamon@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:10:29 +0100 Subject: [PATCH 1/2] chore(github): replace tibdex/github-app-token by actions/create-github-app-token --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 282b543e879..4f2e7bc0315 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,10 +23,10 @@ jobs: steps: - name: Generate App Token id: generate_token - uses: tibdex/github-app-token@v2 + uses: actions/create-github-app-token@v1 with: - app_id: ${{ secrets.API_PLATFORM_APP_ID }} - private_key: ${{ secrets.API_PLATFORM_APP_PRIVATE_KEY }} + app-id: ${{ secrets.API_PLATFORM_APP_ID }} + private-key: ${{ secrets.API_PLATFORM_APP_PRIVATE_KEY }} - name: Checkout repository uses: actions/checkout@v6 @@ -52,10 +52,10 @@ jobs: steps: - name: Generate App Token id: generate_token - uses: tibdex/github-app-token@v2 + uses: actions/create-github-app-token@v1 with: - app_id: ${{ secrets.API_PLATFORM_APP_ID }} - private_key: ${{ secrets.API_PLATFORM_APP_PRIVATE_KEY }} + app-id: ${{ secrets.API_PLATFORM_APP_ID }} + private-key: ${{ secrets.API_PLATFORM_APP_PRIVATE_KEY }} - name: Update distribution env: From b8b2393cc6567b222810319b5c637236e9115a7c Mon Sep 17 00:00:00 2001 From: Vincent Chalamon <407859+vincentchalamon@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:10:52 +0100 Subject: [PATCH 2/2] chore(github): add dispatch-demo-update on release --- .github/workflows/release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f2e7bc0315..93f57e9d3a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,3 +61,21 @@ jobs: env: GH_TOKEN: ${{ steps.generate_token.outputs.token }} run: gh workflow run -R api-platform/api-platform release.yml -f tag=${{ github.ref_name }} + + dispatch-demo-update: + name: Dispatch Demo Update + runs-on: ubuntu-latest + needs: split + if: startsWith(github.ref, 'refs/tags/') + steps: + - name: Generate App Token + id: generate_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.API_PLATFORM_APP_ID }} + private-key: ${{ secrets.API_PLATFORM_APP_PRIVATE_KEY }} + + - name: Update demo + env: + GH_TOKEN: ${{ steps.generate_token.outputs.token }} + run: gh workflow run -R api-platform/demo upgrade-api-platform.yml