chore: publish from staged

This commit is contained in:
github-actions[bot]
2026-06-09 05:55:33 +00:00
parent b25823ace2
commit 242793e14b
3 changed files with 32 additions and 0 deletions
@@ -98,6 +98,18 @@ jobs:
return;
}
const reactionByCommand = {
approve: 'rocket',
reject: '-1'
};
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: context.payload.comment.id,
content: reactionByCommand[parsedCommand.command] ?? 'eyes'
});
core.setOutput('should-run', 'true');
core.setOutput('command', parsedCommand.command);
core.setOutput('reason', parsedCommand.reason ?? '');
@@ -79,6 +79,13 @@ jobs:
return;
}
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: context.payload.comment.id,
content: '+1'
});
await intakeState.syncExternalPluginIntakeLabels({
github,
owner: context.repo.owner,
@@ -72,6 +72,19 @@ jobs:
return;
}
const reactionByCommand = {
keep: '+1',
'needs-changes': 'eyes',
remove: '-1'
};
await github.rest.reactions.createForIssueComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: context.payload.comment.id,
content: reactionByCommand[command] ?? 'eyes'
});
const { plugins, errors } = validation.readExternalPlugins({ policy: 'marketplace' });
if (errors.length > 0) {
core.setFailed(errors.join('\n'));