generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#236)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 19743f2b0b468a9c5ab11f93af276856bf36279f.
- Loading branch information
1 parent
b000734
commit 646136f
Showing
4 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,32 @@ | ||
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt | ||
|
||
name: Upgrade bridge | ||
on: | ||
repository_dispatch: | ||
types: | ||
- upgrade-bridge | ||
workflow_dispatch: | ||
inputs: | ||
target-bridge-version: | ||
description: pulumi-terraform-bridge version or hash reference | ||
required: false | ||
type: string | ||
default: "latest" | ||
pr-reviewers: | ||
description: Reviewers to assign to the auto-opened pull request | ||
required: false | ||
type: string | ||
default: "" | ||
pr-description: | ||
description: Extra description to add to the auto-opened pull request | ||
required: false | ||
type: string | ||
default: "" | ||
automerge: | ||
description: Mark created PR for auto-merging? | ||
required: false | ||
type: boolean | ||
default: false | ||
env: | ||
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -9,12 +36,27 @@ jobs: | |
runs-on: pulumi-ubuntu-8core | ||
steps: | ||
- name: Call upgrade provider action | ||
uses: pulumi/[email protected] | ||
if: github.event_name == 'workflow_dispatch' | ||
uses: pulumi/[email protected] | ||
with: | ||
kind: bridge | ||
email: [email protected] | ||
username: pulumi-bot | ||
automerge: ${{ inputs.automerge }} | ||
target-bridge-version: ${{ inputs.target-bridge-version }} | ||
pr-reviewers: ${{ inputs.pr-reviewers }} | ||
pr-description: ${{ inputs.pr-description }} | ||
- name: Call upgrade provider action | ||
if: github.event_name == 'repository_dispatch' | ||
uses: pulumi/[email protected] | ||
with: | ||
kind: bridge | ||
email: [email protected] | ||
username: pulumi-bot | ||
automerge: ${{ github.event.client_payload.automerge }} | ||
target-bridge-version: ${{ github.event.client_payload.target-bridge-version }} | ||
pr-reviewers: ${{ github.event.client_payload.pr-reviewers }} | ||
pr-description: ${{ github.event.client_payload.pr-description }} | ||
- env: | ||
SLACK_CHANNEL: provider-upgrade-publish-status | ||
SLACK_COLOR: "#7CFC00" | ||
|
@@ -39,12 +81,3 @@ jobs: | |
if: failure() | ||
name: Send Upgrade Failure To Slack | ||
uses: rtCamp/action-slack-notify@v2 | ||
name: Upgrade bridge | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
automerge: | ||
description: Mark created PR for auto-merging? | ||
required: false | ||
type: boolean | ||
default: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Call upgrade provider action | ||
uses: pulumi/[email protected].8 | ||
uses: pulumi/[email protected].9 | ||
with: | ||
kind: all | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters