diff --git a/workflows/issue-triage/action.yaml b/workflows/issue-triage/action.yaml index 38a2d9b..c245a9e 100644 --- a/workflows/issue-triage/action.yaml +++ b/workflows/issue-triage/action.yaml @@ -23,18 +23,16 @@ runs: env: GH_TOKEN: ${{ inputs.GH_TOKEN }} ISSUE_URL: ${{ github.event.issue.html_url }} - run: | - BODY=$(cat <<'EOF' -Thanks for opening this issue! 🎉 + 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). + 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 + 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. -EOF - ) - gh issue comment "$ISSUE_URL" --body "$BODY" \ No newline at end of file + This helps us route your issue faster. + run: | + gh issue comment "$ISSUE_URL" --body "$COMMENT_BODY" \ No newline at end of file