From 32ecb82eb68f6b931cd377eb43d5bc118376f857 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:55:02 -0800 Subject: [PATCH] Update GitHub Actions workflows. (#667) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit f76cbff100ad8e6e3192b379edb5bcf1f536eb3e. --- .github/actions/setup-tools/action.yml | 7 +++++-- .github/workflows/build.yml | 11 +++++++++++ .github/workflows/prerelease.yml | 11 +++++++++++ .github/workflows/release.yml | 11 +++++++++++ .github/workflows/run-acceptance-tests.yml | 7 +++++++ .github/workflows/weekly-pulumi-update.yml | 2 ++ 6 files changed, 47 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-tools/action.yml b/.github/actions/setup-tools/action.yml index 9e4f589..1d8e2e6 100644 --- a/.github/actions/setup-tools/action.yml +++ b/.github/actions/setup-tools/action.yml @@ -5,7 +5,10 @@ inputs: cache: description: Enable caching required: false - default: 'false' + default: "false" + github_token: + description: GitHub token + required: true runs: using: "composite" @@ -15,9 +18,9 @@ runs: with: # Latest working version. See https://github.com/jdx/mise/discussions/6781 version: 2025.10.16 - github_token: ${{ github.token }} cache_key: "mise-{{platform}}-{{file_hash}}" cache_save: ${{ inputs.cache }} + github_token: ${{ inputs.github_token }} - name: Setup Go Cache uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4eb03cb..e488aa3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,6 +68,7 @@ jobs: uses: ./.github/actions/setup-tools with: cache: 'true' + github_token: ${{ secrets.GITHUB_TOKEN }} - if: github.event_name == 'pull_request' name: Install Schema Tools uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0 @@ -240,6 +241,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Generate SDK @@ -404,6 +407,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Download SDK @@ -499,6 +504,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Clear GitHub Actions Ubuntu runner disk space uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 with: @@ -576,6 +583,8 @@ jobs: - run: echo "ci-scripts" >> .git/info/exclude - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download python SDK uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: @@ -635,6 +644,8 @@ jobs: ref: ${{ env.PR_COMMIT_SHA }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Disarm go:embed directives to enable linters that compile source code run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i 's/go:embed/ goembed/g' diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 57e4679..7feb6a7 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -57,6 +57,7 @@ jobs: uses: ./.github/actions/setup-tools with: cache: 'true' + github_token: ${{ secrets.GITHUB_TOKEN }} - if: github.event_name == 'pull_request' name: Install Schema Tools uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0 @@ -229,6 +230,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Generate SDK @@ -357,6 +360,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Download SDK @@ -452,6 +457,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Clear GitHub Actions Ubuntu runner disk space uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 with: @@ -529,6 +536,8 @@ jobs: - run: echo "ci-scripts" >> .git/info/exclude - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download python SDK uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: @@ -603,6 +612,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download java SDK uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69a5436..8b3595a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,6 +60,7 @@ jobs: uses: ./.github/actions/setup-tools with: cache: 'true' + github_token: ${{ secrets.GITHUB_TOKEN }} - if: github.event_name == 'pull_request' name: Install Schema Tools uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0 @@ -232,6 +233,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Generate SDK @@ -360,6 +363,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download Provider Binary uses: ./.github/actions/download-provider - name: Download SDK @@ -455,6 +460,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Clear GitHub Actions Ubuntu runner disk space uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 with: @@ -532,6 +539,8 @@ jobs: - run: echo "ci-scripts" >> .git/info/exclude - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download python SDK uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: @@ -606,6 +615,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download java SDK uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 1181614..1a1b715 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -88,6 +88,7 @@ jobs: uses: ./.github/actions/setup-tools with: cache: 'true' + github_token: ${{ secrets.GITHUB_TOKEN }} - if: github.event_name == 'pull_request' name: Install Schema Tools uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0 @@ -264,6 +265,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download provider uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: @@ -405,6 +408,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Download provider uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: @@ -533,6 +538,8 @@ jobs: ref: ${{ env.PR_COMMIT_SHA }} - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Disarm go:embed directives to enable linters that compile source code run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i 's/go:embed/ goembed/g' diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index dfbc00f..c3e46aa 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -48,6 +48,8 @@ jobs: uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b - name: Setup Tools uses: ./.github/actions/setup-tools + with: + github_token: ${{ secrets.GITHUB_TOKEN }} - name: Update Pulumi/Pulumi id: gomod run: >-