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:
105
105
BRANCHES_TO_COMBINE : ${{ steps.fetch-branch-names.outputs.result }}
106
106
COMBINE_BRANCH_NAME : ${{ github.event.inputs.combineBranchName }}
107
107
run : |
108
- echo "${{steps.fetch-branch-names.outputs.result}} "
108
+ echo "$BRANCHES_TO_COMBINE "
109
109
sourcebranches="${BRANCHES_TO_COMBINE%\"}"
110
110
sourcebranches="${sourcebranches#\"}"
111
111
@@ -123,10 +123,12 @@ jobs:
123
123
# Creates a PR with the new combined branch
124
124
125
125
name : Create Combined Pull Request
126
+ env :
127
+ PRS_STRING : ${{ steps.fetch-branch-names.outputs.prs-string }}
126
128
with :
127
129
github-token : ${{secrets.GITHUB_TOKEN}}
128
130
script : |
129
- const prString = `${{ steps.fetch-branch-names.outputs.prs-string }}` ;
131
+ const prString = process.env.PRS_STRING ;
130
132
const body = 'This PR was created by the Combine PRs action by combining the following PRs:\n' + prString;
131
133
await github.pulls.create({
132
134
owner: context.repo.owner,
You can’t perform that action at this time.
0 commit comments