Rename config token > external-repo-token

This commit is contained in:
cnagadya
2022-11-08 11:16:26 +00:00
parent 336da03de2
commit f0ff0b670a
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ base-ref: 8bb8a58d6a4028b6c2e314d5caaf273f57644896
head-ref: 69af5638bf660cf218aad5709a4c100e42a2f37b
```
### remote-config-repo-token
### external-repo-token
A token for fetching external configuration files if they live in
a private repository.
@@ -202,7 +202,7 @@ a private repository.
**Possible values**: Any GitHub token with read access to the external repository.
**Example**: `remote-config-repo-token: ghp_123456789abcdef...`
**Example**: `external-repo-token: ghp_123456789abcdef...`
### Configuration File
+1 -1
View File
@@ -32,7 +32,7 @@ inputs:
allow-ghsas:
description: Comma-separated list of allowed Github Advisory IDs (e.g. "GHSA-abcd-1234-5679, GHSA-efgh-1234-5679")
required: false
remote-config-repo-token:
external-repo-token:
description: A token for fetching external configuration file if it lives in another repository. It is required if the repository is private
required: false
+1 -1
View File
@@ -147,7 +147,7 @@ async function getRemoteConfig(configOpts: {
// https://github.com/github/codeql-action/blob/main/init/action.yml#L59
// external-repo-token
const {data} = await octokitClient(
'remote-config-repo-token',
'external-repo-token',
false
).rest.repos.getContent({
mediaType: {