We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52180c commit a16e256Copy full SHA for a16e256
1 file changed
.github/workflows/notify-bot.yml
@@ -12,16 +12,16 @@ jobs:
12
with:
13
github-token: ${{ secrets.BOT_DISPATCH_TOKEN }}
14
script: |
15
- await github.rest.repos.createDispatchEvent({
+ await github.rest.actions.createWorkflowDispatch({
16
owner: '10xly-bot2',
17
repo: '10xly-bot-control',
18
- event_type: 'mention',
19
- client_payload: {
+ workflow_id: '10xly-bot.lock.yml',
+ ref: 'main',
20
+ inputs: {
21
+ issue_number: String(context.issue.number),
22
+ comment_id: String(context.payload.comment.id),
23
repo: context.repo.repo,
24
owner: context.repo.owner,
- issue_number: context.issue.number,
- comment_id: context.payload.comment.id,
- comment_body: context.payload.comment.body,
25
- comment_url: context.payload.comment.html_url
+ comment_body: context.payload.comment.body
26
}
27
})
0 commit comments