Skip to content

Commit a16e256

Browse files
ci: update @10xly-bot2 mention listener
1 parent b52180c commit a16e256

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/notify-bot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
with:
1313
github-token: ${{ secrets.BOT_DISPATCH_TOKEN }}
1414
script: |
15-
await github.rest.repos.createDispatchEvent({
15+
await github.rest.actions.createWorkflowDispatch({
1616
owner: '10xly-bot2',
1717
repo: '10xly-bot-control',
18-
event_type: 'mention',
19-
client_payload: {
18+
workflow_id: '10xly-bot.lock.yml',
19+
ref: 'main',
20+
inputs: {
21+
issue_number: String(context.issue.number),
22+
comment_id: String(context.payload.comment.id),
2023
repo: context.repo.repo,
2124
owner: context.repo.owner,
22-
issue_number: context.issue.number,
23-
comment_id: context.payload.comment.id,
24-
comment_body: context.payload.comment.body,
25-
comment_url: context.payload.comment.html_url
25+
comment_body: context.payload.comment.body
2626
}
2727
})

0 commit comments

Comments
 (0)