Skip to content

Update bridge, single ecosystem provider #1

Update bridge, single ecosystem provider

Update bridge, single ecosystem provider #1

# 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

Check failure on line 36 in .github/workflows/update-bridge-single-ecosystem-provider.yml

View workflow run for this annotation

GitHub Actions / Update bridge, single ecosystem provider

Invalid workflow file

The workflow is not valid. .github/workflows/update-bridge-single-ecosystem-provider.yml (Line: 36, Col: 13): Unrecognized named-value: 'failure'. Located at position 34 within expression: 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