From 992e1a1dd74dcd4d3019478aa3a10fe763578ef4 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Wed, 11 Oct 2023 23:49:12 -0700 Subject: [PATCH] Update GitHub Actions workflows. (#338) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit ce0e76305f20f6f6bdef94dd5e8951c6b405dd17. --- .github/workflows/master.yml | 6 +++--- .github/workflows/prerelease.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .github/workflows/resync-build.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 4 ++-- .github/workflows/upgrade-bridge.yml | 11 ++++++++++- .github/workflows/upgrade-provider.yml | 2 ++ 7 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index bc5cbcbb..a854eead 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -59,7 +59,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python @@ -306,7 +306,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.11 + uses: pulumi/pulumi-package-publisher@v0.0.12 - env: SLACK_CHANNEL: provider-upgrade-publish-status SLACK_COLOR: "#FF0000" @@ -371,7 +371,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 4dfc7e49..f6cc1c02 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -60,7 +60,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python @@ -252,7 +252,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.11 + uses: pulumi/pulumi-package-publisher@v0.0.12 - env: SLACK_CHANNEL: provider-upgrade-publish-status SLACK_COLOR: "#FF0000" @@ -299,7 +299,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 864be692..3f24aaaa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,7 +59,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python @@ -264,7 +264,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Publish SDKs - uses: pulumi/pulumi-package-publisher@v0.0.11 + uses: pulumi/pulumi-package-publisher@v0.0.12 - env: SLACK_CHANNEL: provider-upgrade-publish-status SLACK_COLOR: "#FF0000" @@ -345,7 +345,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python diff --git a/.github/workflows/resync-build.yml b/.github/workflows/resync-build.yml index 468bf474..bd0258ce 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -58,7 +58,7 @@ jobs: - name: Install Pulumi CLI uses: pulumi/action-install-pulumi-cli@v2 - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Node diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 3a6309ca..d5b95ec0 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -64,7 +64,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python @@ -304,7 +304,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index 257ec25a..e3c3e9cf 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -12,6 +12,9 @@ jobs: uses: pulumi/pulumi-upgrade-provider-action@v0.0.8 with: kind: bridge + email: bot@pulumi.com + username: pulumi-bot + automerge: ${{ inputs.automerge }} - env: SLACK_CHANNEL: provider-upgrade-publish-status SLACK_COLOR: "#7CFC00" @@ -38,4 +41,10 @@ jobs: uses: rtCamp/action-slack-notify@v2 name: Upgrade bridge on: - workflow_dispatch: {} + workflow_dispatch: + inputs: + automerge: + description: Mark created PR for auto-merging? + required: false + type: boolean + default: false diff --git a/.github/workflows/upgrade-provider.yml b/.github/workflows/upgrade-provider.yml index 4a8db0f6..39972938 100644 --- a/.github/workflows/upgrade-provider.yml +++ b/.github/workflows/upgrade-provider.yml @@ -13,6 +13,8 @@ jobs: uses: pulumi/pulumi-upgrade-provider-action@v0.0.8 with: kind: all + email: bot@pulumi.com + username: pulumi-bot - env: SLACK_CHANNEL: provider-upgrade-publish-status SLACK_COLOR: "#7CFC00"