mirror of
https://github.com/github/awesome-copilot.git
synced 2026-06-13 11:33:32 +00:00
chore: publish from staged
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user