Skip to content

Commit 962653b

Browse files
Moved pr title to env
* moved pr title to env * changes * changes * changes
1 parent a1010af commit 962653b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/python-client-gen.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,17 @@ jobs:
8787
env:
8888
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8989
- name: Check pr_title outputs
90-
run: echo "${{ steps.pr_title_var.outputs.PR_TITLE }}"
90+
run: echo "$PR_TITLE"
91+
env:
92+
PR_TITLE: ${{ steps.pr_title_var.outputs.PR_TITLE }}
9193

9294
- name: Create Pull Request
9395
id: create-pr
9496
if: steps.add-commit-changes.outcome == 'success'
9597
run: |
9698
export CURRENT="$(cat DO_OPENAPI_COMMIT_SHA.txt)"
9799
export TARGET="${{ github.event.inputs.openapi_short_sha }}"
98-
export TITLE="${{ steps.pr_title_var.outputs.PR_TITLE }}"
100+
export TITLE="$PR_TITLE"
99101
envsubst < scripts/pr_body.md_tmpl > pr_body.md
100102
cat changelist.md >> pr_body.md
101103
@@ -109,3 +111,4 @@ jobs:
109111
-r digitalocean/api-cli
110112
env:
111113
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
114+
PR_TITLE: ${{ steps.pr_title_var.outputs.PR_TITLE }}

0 commit comments

Comments
 (0)