@tahminator/pipeline 1.0.23 → 1.0.24
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/gh/client.d.ts +7 -0
- package/dist/gh/client.js +7 -0
- package/package.json +1 -1
package/dist/gh/client.d.ts
CHANGED
|
@@ -22,6 +22,13 @@ export declare class GitHubClient {
|
|
|
22
22
|
*/
|
|
23
23
|
installationId: string;
|
|
24
24
|
}): Promise<GitHubClient>;
|
|
25
|
+
/**
|
|
26
|
+
* __It is highly recommended that you use `createWithGithubAppToken`, unless you need the "dumb"
|
|
27
|
+
* features of this client such as, for example, outputting data to `$GITHUB_ENV`__
|
|
28
|
+
*
|
|
29
|
+
* This is because the default CI token is not eligible for any automation whatsoever. That includes triggering
|
|
30
|
+
* CI based off pushes, merges, or anything else of the like.
|
|
31
|
+
*/
|
|
25
32
|
static createWithDefaultCiToken(): Promise<GitHubClient>;
|
|
26
33
|
/**
|
|
27
34
|
* @deprecated use `createWithGithubAppToken`
|
package/dist/gh/client.js
CHANGED
|
@@ -29,6 +29,13 @@ export class GitHubClient {
|
|
|
29
29
|
},
|
|
30
30
|
}), true);
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* __It is highly recommended that you use `createWithGithubAppToken`, unless you need the "dumb"
|
|
34
|
+
* features of this client such as, for example, outputting data to `$GITHUB_ENV`__
|
|
35
|
+
*
|
|
36
|
+
* This is because the default CI token is not eligible for any automation whatsoever. That includes triggering
|
|
37
|
+
* CI based off pushes, merges, or anything else of the like.
|
|
38
|
+
*/
|
|
32
39
|
static async createWithDefaultCiToken() {
|
|
33
40
|
const token = process.env.GH_TOKEN;
|
|
34
41
|
if (!token) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Tahmid Ahmed",
|
|
5
5
|
"description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.24",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "git+https://github.com/tahminator/pipeline.git"
|
|
9
9
|
},
|