-
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.
chore(ci): add feature prefix to automated upgrade PRs (#116)
This adds the `pr-title-prefix` argument to the upgrade steps in the upgrade-bridge and upgrade-provider workflows. In the case where we were using the official Pulumi upgrade action, this upgrades that action to the latest version, v0.0.12. That version introduced the `pr-title-prefix` argument and matches the base code of our custom action. Part of #114
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
ref: ${{ github.ref_name }} | ||
- name: Call upgrade provider action | ||
if: github.event_name == 'workflow_dispatch' | ||
uses: pulumi/[email protected].10 | ||
uses: pulumi/[email protected].12 | ||
with: | ||
kind: bridge | ||
email: [email protected] | ||
|
@@ -51,6 +51,7 @@ jobs: | |
target-bridge-version: ${{ inputs.target-bridge-version }} | ||
pr-reviewers: ${{ inputs.pr-reviewers }} | ||
pr-description: ${{ inputs.pr-description }} | ||
pr-title-prefix: "feat: " | ||
- name: Call upgrade provider action | ||
# TODO(ocobles): upgrade-provider tool tries to assign the PR to the user who created it. | ||
# Since we don't have an Equinix bot user, we are using the GITHUB_TOKEN. This results in an | ||
|
@@ -70,6 +71,7 @@ jobs: | |
pr-reviewers: ${{ inputs.pr-reviewers }} | ||
pr-description: ${{ inputs.pr-description }} | ||
pr-assign: ${{ github.actor }} | ||
pr-title-prefix: "feat: " | ||
# TODO(ocobles) Set back when pr-assign is available or we have an Equinix bot token | ||
# - name: Call upgrade provider action | ||
# if: github.event_name == 'repository_dispatch' | ||
|
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 |
---|---|---|
|
@@ -44,3 +44,4 @@ jobs: | |
email: [email protected] | ||
username: GitHub | ||
pr-assign: ${{ env.PR_ASSIGN }} | ||
pr-title-prefix: "feat: " |