mirror of
https://github.com/Comfy-Org/rfcs.git
synced 2026-11-05 00:17:38 +00:00
[PR #41] [MERGED] [fix] Prevent JavaScript syntax errors in sync workflow #26
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/rfcs#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/rfcs/pull/41
Author: @christian-byrne
Created: 6/2/2025
Status: ✅ Merged
Merged: 6/2/2025
Merged by: @christian-byrne
Base:
main← Head:fix-sync-workflow-syntax-error📝 Commits (1)
d23c0e1[fix] Prevent JavaScript syntax errors in sync workflow📊 Changes
1 file changed (+23 additions, -10 deletions)
View changed files
📝
.github/workflows/sync-rfc-discussion.yml(+23 -10)📄 Description
Fixes syntax errors in the RFC discussion sync workflow that occur when PR titles or RFC content contain special characters like brackets, quotes, or apostrophes.
Problem: The sync workflow was embedding GitHub Actions expressions directly in JavaScript template literals, causing syntax errors when content contained special characters.
Solution: Use environment variables to pass all dynamic content, avoiding template literal conflicts.
This enables the sync workflow to handle any RFC content safely, including edge cases like:
[feat] Add new featureGitHub's APITesting: After merge, the existing test PR should successfully sync discussion content on future commits.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.