github-repository-provider 7.25.0 → 7.25.1
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/package.json +2 -2
- package/src/github-provider.mjs +2 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "7.25.
|
|
3
|
+
"version": "7.25.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"matching-iterator": "^2.0.0",
|
|
37
37
|
"node-fetch": "3.1.0",
|
|
38
38
|
"one-time-execution-method": "^2.0.9",
|
|
39
|
-
"repository-provider": "^26.1.
|
|
39
|
+
"repository-provider": "^26.1.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^3.15.0",
|
package/src/github-provider.mjs
CHANGED
|
@@ -42,7 +42,7 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
42
42
|
* @return {string} default instance environment name prefix
|
|
43
43
|
*/
|
|
44
44
|
static get instanceIdentifier() {
|
|
45
|
-
return "GITHUB_";
|
|
45
|
+
return "GITHUB_"; // "GH_" "GH_ENTERPRISE_"
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
static get attributes() {
|
|
@@ -74,9 +74,7 @@ export class GithubProvider extends MultiGroupProvider {
|
|
|
74
74
|
// @see https://cli.github.com/manual/gh_help_environment
|
|
75
75
|
env: [
|
|
76
76
|
"{{instanceIdentifier}}TOKEN",
|
|
77
|
-
"GH_TOKEN"
|
|
78
|
-
"GITHUB_ENTERPRISE_TOKEN",
|
|
79
|
-
"GH_ENTERPRISE_TOKEN"
|
|
77
|
+
"GH_TOKEN" // declare GH_ as identifier
|
|
80
78
|
],
|
|
81
79
|
additionalAttributes: { "authentication.type": "token" },
|
|
82
80
|
private: true,
|