Skip to content

Commit 190744d

Browse files
committed
CI: Write LIST_OPEN_ISSUES as multi-line string to $GITHUB_OUTPUT
1 parent 7254fa3 commit 190744d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/label-pull-requests-all.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- run: |
2121
listOpenIssues="$(gh pr list --repo andygrunwald/go-jira --state open --limit 100 --json number --jq '.[].number')"
2222
23-
echo "LIST_OPEN_ISSUES=$listOpenIssues\n" >> $GITHUB_OUTPUT
23+
echo 'LIST_OPEN_ISSUES<<EOF' >> $GITHUB_OUTPUT
24+
echo $listOpenIssues >> $GITHUB_OUTPUT
25+
echo 'EOF' >> $GITHUB_OUTPUT
2426
id: find_all_open_prs
2527
env:
2628
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)