Skip to content

Automate spam issue detection #11316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: correct sed usage to remove Markdown front matter
Signed-off-by: Babak K. Shandiz <[email protected]>
  • Loading branch information
babakks committed Jul 16, 2025
commit 1779103a04ab165443e75eb94f07bfb3e59ca566
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ for template_file in .github/ISSUE_TEMPLATE/*.md; do
_template_content="$(cat "$template_file")"

# Remove YAML front matter (everything between the first two --- lines)
_template_content="$(echo "$_template_content" | sed '1,/^---$/d; /^---$/,$d')"
_template_content="$(echo "$_template_content" | sed '/^---$/,/^---$/d')"
_escaped_template="$(sed -e 's/^```/\\```/g' <<< "$_template_content" )"

_system_prompt="${_system_prompt}
Expand Down
Loading