From f83b7342a644f2dc1596d84aa74bcac737036bce Mon Sep 17 00:00:00 2001 From: uwe-mayer Date: Thu, 18 Jun 2026 13:52:35 +0200 Subject: [PATCH 1/2] fix(actions): avoid empty lines in block scalar to fix legacy YAML parser The GitHub Actions legacy manifest parser fails on empty lines inside YAML block scalar values (env variables). The parser interprets bare empty lines as YAML keys rather than block scalar continuations. Replace the multi-line COMMENT_BODY env var with a printf-based single-line approach, avoiding all empty lines in the YAML structure. Signed-off-by: uwe-mayer --- workflows/issue-triage/action.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/workflows/issue-triage/action.yaml b/workflows/issue-triage/action.yaml index c245a9e..aa0699d 100644 --- a/workflows/issue-triage/action.yaml +++ b/workflows/issue-triage/action.yaml @@ -23,16 +23,5 @@ runs: env: GH_TOKEN: ${{ inputs.GH_TOKEN }} ISSUE_URL: ${{ github.event.issue.html_url }} - COMMENT_BODY: | - Thanks for opening this issue! 🎉 - - A maintainer will triage it within 5 business days. You can learn more about our issue workflow in the [Issue Lifecycle documentation](https://github.com/cloudoperators/common/blob/main/ISSUE_LIFECYCLE.md). - - In the meantime, please make sure you have provided: - - A clear problem statement - - Steps to reproduce (for bugs) - - Expected vs actual behavior - - This helps us route your issue faster. run: | - gh issue comment "$ISSUE_URL" --body "$COMMENT_BODY" \ No newline at end of file + gh issue comment "$ISSUE_URL" --body "$(printf 'Thanks for opening this issue! 🎉\n\nA maintainer will triage it within 5 business days. See the [Issue Lifecycle documentation](https://github.com/cloudoperators/common/blob/main/ISSUE_LIFECYCLE.md) for details.\n\nIn the meantime, please make sure you have provided:\n- A clear problem statement\n- Steps to reproduce (for bugs)\n- Expected vs actual behavior')" \ No newline at end of file From 861f83dd918459d8f4938796257176f6dd71a919 Mon Sep 17 00:00:00 2001 From: uwe-mayer Date: Thu, 18 Jun 2026 14:00:34 +0200 Subject: [PATCH 2/2] fix: restore full comment text and use printf %b for safety Signed-off-by: uwe-mayer --- workflows/issue-triage/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/issue-triage/action.yaml b/workflows/issue-triage/action.yaml index aa0699d..5e228a1 100644 --- a/workflows/issue-triage/action.yaml +++ b/workflows/issue-triage/action.yaml @@ -24,4 +24,4 @@ runs: GH_TOKEN: ${{ inputs.GH_TOKEN }} ISSUE_URL: ${{ github.event.issue.html_url }} run: | - gh issue comment "$ISSUE_URL" --body "$(printf 'Thanks for opening this issue! 🎉\n\nA maintainer will triage it within 5 business days. See the [Issue Lifecycle documentation](https://github.com/cloudoperators/common/blob/main/ISSUE_LIFECYCLE.md) for details.\n\nIn the meantime, please make sure you have provided:\n- A clear problem statement\n- Steps to reproduce (for bugs)\n- Expected vs actual behavior')" \ No newline at end of file + gh issue comment "$ISSUE_URL" --body "$(printf '%b' 'Thanks for opening this issue! 🎉\n\nA maintainer will triage it within 5 business days. See the [Issue Lifecycle documentation](https://github.com/cloudoperators/common/blob/main/ISSUE_LIFECYCLE.md) for details.\n\nIn the meantime, please make sure you have provided:\n- A clear problem statement\n- Steps to reproduce (for bugs)\n- Expected vs actual behavior\n\nThis helps us route your issue faster.')" \ No newline at end of file