mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
fix: handle multiline output in issue dedup workflow (#6338)
This commit is contained in:
@@ -175,10 +175,12 @@ jobs:
|
|||||||
|
|
||||||
- name: 'Comment and Label Duplicate Issue'
|
- name: 'Comment and Label Duplicate Issue'
|
||||||
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea'
|
uses: 'actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea'
|
||||||
|
env:
|
||||||
|
DUPLICATES_OUTPUT: '${{ needs.find-duplicates.outputs.duplicate_issues_json }}'
|
||||||
with:
|
with:
|
||||||
github-token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
github-token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
||||||
script: |-
|
script: |-
|
||||||
const rawJson = '${{ needs.find-duplicates.outputs.duplicate_issues_json }}';
|
const rawJson = process.env.DUPLICATES_OUTPUT;
|
||||||
core.info(`Raw duplicates JSON: ${rawJson}`);
|
core.info(`Raw duplicates JSON: ${rawJson}`);
|
||||||
let parsedJson;
|
let parsedJson;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user