fix: repair escaped newlines in fork-sync workflow

This commit is contained in:
gavrielc
2026-03-10 22:10:37 +02:00
parent 107f9742a9
commit 15ed3cf2a6

View File

@@ -4,7 +4,7 @@ on:
# Triggered by upstream repo via repository_dispatch # Triggered by upstream repo via repository_dispatch
repository_dispatch: repository_dispatch:
types: [upstream-main-updated] types: [upstream-main-updated]
# Fallback: run on schedule in case dispatch isn't configured # Fallback: run on a schedule in case dispatch isn't configured
schedule: schedule:
- cron: '0 */6 * * *' # every 6 hours - cron: '0 */6 * * *' # every 6 hours
# Also run when fork's main is pushed directly # Also run when fork's main is pushed directly
@@ -166,8 +166,7 @@ jobs:
'npm run build && npm test', 'npm run build && npm test',
'git push', 'git push',
'```', '```',
].join(' ].join('\n'),
'),
labels: ['upstream-sync'] labels: ['upstream-sync']
}); });
@@ -191,8 +190,7 @@ jobs:
'' ''
]).flat(), ]).flat(),
'```', '```',
].join(' ].join('\n');
');
await github.rest.issues.create({ await github.rest.issues.create({
owner: context.repo.owner, owner: context.repo.owner,
@@ -200,4 +198,4 @@ jobs:
title: `Merge-forward failed for ${failed.length} skill branch(es)`, title: `Merge-forward failed for ${failed.length} skill branch(es)`,
body, body,
labels: ['skill-maintenance'] labels: ['skill-maintenance']
}); });