Skip to content

Commit

Permalink
chore: use fork of upgrade-action so we can specify go version
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Oct 18, 2024
1 parent 407639c commit 702146c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/upgrade-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
ref: ${{ github.ref_name }}
- name: Call upgrade provider action
if: github.event_name == 'workflow_dispatch'
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: bridge
email: [email protected]
Expand All @@ -52,9 +54,12 @@ jobs:
pr-reviewers: ${{ inputs.pr-reviewers }}
pr-description: ${{ inputs.pr-description }}
pr-title-prefix: "feat: "
go-version-file: provider/go.mod
- name: Call upgrade provider action
if: github.event_name == 'repository_dispatch'
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: bridge
email: [email protected]
Expand All @@ -63,3 +68,4 @@ jobs:
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 }}
go-version-file: provider/go.mod
5 changes: 4 additions & 1 deletion .github/workflows/upgrade-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
run: |
echo "version=$(cat .pulumi-java-gen.version)" >> "$GITHUB_OUTPUT"
- name: Call upgrade provider action
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: provider
email: [email protected]
username: GitHub
pr-title-prefix: "feat: "
target-java-version: ${{ steps.pulumi-java.outputs.version }}
go-version-file: provider/go.mod

0 comments on commit 702146c

Please sign in to comment.