Skip to content

Commit 66c3996

Browse files
authored
Merge pull request #30 from Heshdude/improving-automation
Appending the PR ID to the branch name
2 parents 8dff99d + 5adf265 commit 66c3996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
id: vars
3434
run: |
3535
echo "The related PR is ${PR}"
36-
echo ::set-output name=pr_body::"#${PR}"
36+
echo ::set-output name=pr_id::"#${PR}"
3737
env:
3838
PR: ${{ steps.findPr.outputs.pr }}
3939
- name: Create a pull request for README.md & installers.toml updates
@@ -44,8 +44,8 @@ jobs:
4444
title: Update installer scrits, README.md & installers.toml
4545
body: |
4646
Update README.md & installers.toml for the changes to the installer scripts.
47-
This is a generated PR in related to PR ${{ steps.vars.outputs.pr_body }}
48-
branch: update-readme-md-and-installers-toml
47+
This is a generated PR in related to PR ${{ steps.vars.outputs.pr_id }}
48+
branch: update-readme-md-and-installers-toml-${{ steps.vars.outputs.pr_id }}
4949
- name: Archive Production Artifact
5050
if: env.GIT_DIFF
5151
uses: actions/upload-artifact@master

0 commit comments

Comments
 (0)