From 6d160fa43e29bde23a5e50746d7b5d4f28584db7 Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Thu, 12 Oct 2023 05:04:46 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .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 2aa624157..a867797a1 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -62,7 +62,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 @@ -305,7 +305,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" @@ -370,7 +370,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 465029e51..f706f3def 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -63,7 +63,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 @@ -251,7 +251,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" @@ -298,7 +298,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 8438d08ff..621ad2406 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,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 @@ -263,7 +263,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" @@ -344,7 +344,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 7835b36d0..944aaa8d0 100644 --- a/.github/workflows/resync-build.yml +++ b/.github/workflows/resync-build.yml @@ -61,7 +61,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 f7fa2fc25..b8cc77e56 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -67,7 +67,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 @@ -300,7 +300,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 257ec25a0..e3c3e9cf5 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 4a8db0f60..39972938a 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"