We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0c87b commit 6a64da7Copy full SHA for 6a64da7
1 file changed
up.js
@@ -0,0 +1,16 @@
1
+import { Octokit } from "https://cdn.skypack.dev/octokit";
2
+const octokit = new Octokit({
3
+ auth: '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'
4
+})
5
+await octokit.request('POST /repos/{owner}/{repo}/dispatches', {
6
+ owner: 'OWNER',
7
+ repo: 'REPO',
8
+ event_type: 'on-demand-test',
9
+ client_payload: {
10
+ unit: false,
11
+ integration: true
12
+ },
13
+ headers: {
14
+ 'X-GitHub-Api-Version': '2022-11-28'
15
+ }
16
0 commit comments