We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97537ad commit 204fa75Copy full SHA for 204fa75
1 file changed
.github/helper/updator.js
@@ -76,6 +76,23 @@ Related: ${mcdataPrURL}
76
'master'
77
)
78
console.log(`Pull request created`, pr)
79
+
80
+ // Ask mineflayer to handle new update
81
+ const nodeDispatchPayload = {
82
+ owner: 'PrismarineJS',
83
+ repo: 'mineflayer',
84
+ workflow: 'handle-update.yml',
85
+ branch: 'master',
86
+ inputs: {
87
+ new_mc_version: latestVersion,
88
+ mcdata_branch: triggerBranch,
89
+ mcdata_pr_url: mcdataPrURL,
90
+ nmp_branch: branchName,
91
+ nmp_pr_url: pr.url
92
+ }
93
94
+ console.log('Sending workflow dispatch', nodeDispatchPayload)
95
+ await github.sendWorkflowDispatch(nodeDispatchPayload)
96
}
97
98
main().catch(err => {
0 commit comments