We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bd55fc commit d38c37bCopy full SHA for d38c37b
.github/workflows/create-release.yml
@@ -130,10 +130,11 @@ jobs:
130
- name: Generate release notes
131
id: release_notes
132
uses: actions/github-script@v8
133
+ env:
134
+ PR_DATA: ${{ steps.get_prs.outputs.prs }}
135
with:
136
script: |
- // Trim whitespace from PR titles
- const prs = JSON.parse('${{ steps.get_prs.outputs.prs }}').map(pr => ({
137
+ const prs = JSON.parse(process.env.PR_DATA).map(pr => ({
138
...pr,
139
title: pr.title.trim()
140
}));
0 commit comments