@bakers-build/addon-forge-github 0.11.1-next.2 → 0.11.1-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/index.js +6 -0
- package/package.json +4 -4
package/dist/src/index.js
CHANGED
|
@@ -66,6 +66,9 @@ function stateStatus(state) {
|
|
|
66
66
|
}
|
|
67
67
|
const NO_RUN = { run_id: null, job_id: null, run_started_at: null };
|
|
68
68
|
const basic = (token) => Buffer.from(`x-access-token:${token}`).toString('base64');
|
|
69
|
+
const unsupported = async () => {
|
|
70
|
+
throw new Error('origin issues are unsupported on GitHub; record the step in Manual review');
|
|
71
|
+
};
|
|
69
72
|
const factory = async (raw, context) => {
|
|
70
73
|
const s = settingsOf(raw);
|
|
71
74
|
const doFetch = context.fetch ?? fetch;
|
|
@@ -247,6 +250,9 @@ const factory = async (raw, context) => {
|
|
|
247
250
|
throw new Error(`job ${jobId} is not a job of ${s.repository}`);
|
|
248
251
|
return tail(log, maxBytes);
|
|
249
252
|
},
|
|
253
|
+
issueLabels: unsupported,
|
|
254
|
+
updateIssueLabels: unsupported,
|
|
255
|
+
commentIssue: unsupported,
|
|
250
256
|
};
|
|
251
257
|
return backend;
|
|
252
258
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-forge-github",
|
|
3
|
-
"version": "0.11.1-next.
|
|
3
|
+
"version": "0.11.1-next.4",
|
|
4
4
|
"description": "bakers.build forge backend for GitHub: a GitHub App installation token scoped to one repository. Implements @bakers-build/addon-forge's ForgeBackend contract.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"directory": "bakers-cli/addons/forge-github"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@bakers-build/addon-forge": "^0.11.1-next.
|
|
25
|
-
"@bakers-build/core": "^0.11.1-next.
|
|
24
|
+
"@bakers-build/addon-forge": "^0.11.1-next.4",
|
|
25
|
+
"@bakers-build/core": "^0.11.1-next.4"
|
|
26
26
|
},
|
|
27
27
|
"bakersBuild": {
|
|
28
|
-
"commit": "
|
|
28
|
+
"commit": "567bf12252184152b86d67a8a083d09755d29e0b",
|
|
29
29
|
"channel": "next"
|
|
30
30
|
}
|
|
31
31
|
}
|