diff --git a/README.md b/README.md index 588bedc..fa76c83 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ To use the action, add a step to your GitHub workflow using the following syntax - `access_token` - The service account access token for retrieving secrets. + The machine account access token for retrieving secrets. - Use GitHub's [encrypted secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) to store and retrieve service account access tokens securely. + Use GitHub's [encrypted secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) to store and retrieve machine account access tokens securely. - `secrets` diff --git a/action.yml b/action.yml index e4acaae..5c3be66 100644 --- a/action.yml +++ b/action.yml @@ -6,7 +6,7 @@ branding: color: "blue" inputs: access_token: - description: "The service account access token for retrieving secrets" + description: "The machine account access token for retrieving secrets" required: true secrets: description: "One or more secret Ids to retrieve and the corresponding GitHub environment variable name to set" diff --git a/dist/index.js b/dist/index.js index b0d40c3..df9632f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -24791,7 +24791,7 @@ async function run() { }); } else { - let errorMessage = "The secrets provided could not be found. Please check the service account has access to the secret UUIDs provided."; + let errorMessage = "The secrets provided could not be found. Please check the machine account has access to the secret UUIDs provided."; if (secretResponse.errorMessage) { errorMessage = errorMessage + `\n\n` + secretResponse.errorMessage; } diff --git a/src/main.ts b/src/main.ts index d526919..2328f92 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,7 +63,7 @@ export async function run(): Promise { }); } else { let errorMessage = - "The secrets provided could not be found. Please check the service account has access to the secret UUIDs provided."; + "The secrets provided could not be found. Please check the machine account has access to the secret UUIDs provided."; if (secretResponse.errorMessage) { errorMessage = errorMessage + `\n\n` + secretResponse.errorMessage; }