@@ -430,13 +430,18 @@ jobs:
430430 - name : Comment on PR
431431 if : steps.changed-files.outputs.significant == 'true'
432432 uses : actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
433+ env :
434+ AFFECTED_PRODUCTS : ${{ steps.changed-files.outputs.affected_products }}
435+ NEW_PRODUCT : ${{ steps.changed-files.outputs.new_product }}
436+ CHANGED_FILES : ${{ steps.changed-files.outputs.files }}
433437 with :
434438 script : |
435439 const noUpdate = process.env.no_update === 'true';
436- const affectedRaw = '${{ steps.changed-files.outputs.affected_products }} ';
440+ const affectedRaw = process.env.AFFECTED_PRODUCTS || ' ';
437441 const affectedProducts = affectedRaw.split(' ').filter(Boolean);
438- const newProduct = '${{ steps.changed-files.outputs.new_product }}' === 'true';
442+ const newProduct = process.env.NEW_PRODUCT === 'true';
439443 const updatedProducts = (process.env.updated_products || '').split(',').filter(Boolean);
444+ const changedFiles = process.env.CHANGED_FILES || '';
440445
441446 const newProductWarning = newProduct
442447 ? `\n> ⚠️ **New product directory detected.** Please check if the \`llms.txt\` routing hub needs a new entry.\n`
@@ -456,7 +461,7 @@ jobs:
456461 <summary>Files analyzed</summary>
457462
458463 \`\`\`
459- ${{ steps.changed-files.outputs.files } }
464+ ${changedFiles }
460465 \`\`\`
461466 </details>`;
462467 } else if (noUpdate) {
@@ -471,7 +476,7 @@ jobs:
471476 <summary>Files analyzed</summary>
472477
473478 \`\`\`
474- ${{ steps.changed-files.outputs.files } }
479+ ${changedFiles }
475480 \`\`\`
476481 </details>`;
477482 } else {
@@ -489,7 +494,7 @@ jobs:
489494 <summary>Files that triggered this update</summary>
490495
491496 \`\`\`
492- ${{ steps.changed-files.outputs.files } }
497+ ${changedFiles }
493498 \`\`\`
494499 </details>`;
495500 }
0 commit comments