File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105105 BRANCHES_TO_COMBINE : ${{ steps.fetch-branch-names.outputs.result }}
106106 COMBINE_BRANCH_NAME : ${{ github.event.inputs.combineBranchName }}
107107 run : |
108- echo "${{steps.fetch-branch-names.outputs.result}} "
108+ echo "$BRANCHES_TO_COMBINE "
109109 sourcebranches="${BRANCHES_TO_COMBINE%\"}"
110110 sourcebranches="${sourcebranches#\"}"
111111
@@ -123,10 +123,12 @@ jobs:
123123 # Creates a PR with the new combined branch
124124125125 name : Create Combined Pull Request
126+ env :
127+ PRS_STRING : ${{ steps.fetch-branch-names.outputs.prs-string }}
126128 with :
127129 github-token : ${{secrets.GITHUB_TOKEN}}
128130 script : |
129- const prString = `${{ steps.fetch-branch-names.outputs.prs-string }}` ;
131+ const prString = process.env.PRS_STRING ;
130132 const body = 'This PR was created by the Combine PRs action by combining the following PRs:\n' + prString;
131133 await github.pulls.create({
132134 owner: context.repo.owner,
You can’t perform that action at this time.
0 commit comments