@@ -76,19 +76,16 @@ jobs:
7676 if : steps.local.outputs.tag != steps.latest.outputs.tag
7777 run : git --no-pager diff --color=always
7878
79- - name : PR summary
79+ - name : Fetch PR summary
8080 id : prsummary
8181 if : steps.local.outputs.tag != steps.latest.outputs.tag
8282 run : |
8383 pip install PyGithub
84-
85- # We want to set multiline output, so we rely on this technique:
86- # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
87- #
88- eof_randomized=EOF_$RANDOM
89- echo "prs<<$eof_randomized" >> $GITHUB_OUTPUT
90- ./scripts/get-prs.py ${{matrix.github_repo}} ${{steps.local.outputs.version}} ${{steps.latest.outputs.version}} >> $GITHUB_OUTPUT
91- echo "$eof_randomized" >> $GITHUB_OUTPUT
84+ ./scripts/get-prs.py \
85+ ${{matrix.github_repo}} \
86+ ${{steps.local.outputs.version}} \
87+ ${{steps.latest.outputs.version}} \
88+ --write-github-actions-output=prs
9289 env :
9390 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9491
@@ -208,19 +205,16 @@ jobs:
208205 - name : git diff
209206 run : git --no-pager diff --color=always
210207
211- - name : PR summary
208+ - name : Fetch PR summary
212209 id : prsummary
213210 if : matrix.github_repo && (steps.local.outputs.version != steps.latest.outputs.version)
214211 run : |
215212 pip install PyGithub
216-
217- # We want to set multiline output, so we rely on this technique:
218- # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
219- #
220- eof_randomized=EOF_$RANDOM
221- echo "prs<<$eof_randomized" >> $GITHUB_OUTPUT
222- ./scripts/get-prs.py ${{matrix.github_repo}} ${{steps.local.outputs.version}} ${{steps.latest.outputs.version}} >> $GITHUB_OUTPUT
223- echo "$eof_randomized" >> $GITHUB_OUTPUT
213+ ./scripts/get-prs.py \
214+ ${{matrix.github_repo}} \
215+ ${{steps.local.outputs.version}} \
216+ ${{steps.latest.outputs.version}} \
217+ --write-github-actions-output=prs
224218 env :
225219 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
226220
0 commit comments