Update bridge, single ecosystem provider #10
Workflow file for this run
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
# Performs a workflow_dispatch to run the upgrade-bridge workflow in a specified | |
# provider. | |
# Note that this workflow does not generate any files - workflows must already be generated and committed to this repo | |
# when this workflow is run. | |
name: Update bridge, single ecosystem provider | |
on: | |
workflow_dispatch: | |
inputs: | |
automerge: | |
description: Mark created PRs for auto-merging? | |
required: true | |
type: boolean | |
default: false | |
provider: | |
description: The name of the provider to update - do not include the pulumi prefix in the name. | |
required: true | |
type: string | |
env: | |
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }} | |
jobs: | |
update-bridge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: pulumi-${{ github.event.inputs.provider }} main | |
id: upgrade-on-main | |
uses: benc-uk/[email protected] | |
continue-on-error: true | |
with: | |
workflow: upgrade-bridge.yml | |
token: ${{ secrets.PULUMI_BOT_TOKEN }} | |
repo: pulumi/pulumi-${{ github.event.inputs.provider }} | |
ref: main | |
- name: pulumi-${{ github.event.inputs.provider }} master | |
id: upgrade-on-master | |
if: steps.upgrade-on-main.outcome == 'failure' | |
uses: benc-uk/[email protected] | |
with: | |
workflow: upgrade-bridge.yml | |
token: ${{ secrets.PULUMI_BOT_TOKEN }} | |
repo: pulumi/pulumi-${{ github.event.inputs.provider }} | |
ref: master | |