Skip to content

Commit

Permalink
Update references to: doctl app spec validate-offline (digitalocean…
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitronx committed Oct 23, 2023
1 parent 32bddea commit 8fa9679
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ See [this repository](https://github.com/do-community/example-doctl-action) for
- `token` – (**Required**) A DigitalOcean personal access token ([more info](https://docs.digitalocean.com/reference/api/create-personal-access-token/)).
- `version` – (Optional) The version of `doctl` to install. If excluded, the latest release will be used.
- `no_auth` – (Optional) Set to `true` to skip the authentication step. The API `token` parameter is _Optional_ in this case.
- _Note:_ This can be useful when running in workflows in untrusted environments, or where auth isn't necessary (e.g. `doctl app spec validate`)
- _Note:_ This can be useful when running in workflows in untrusted environments, or where auth isn't necessary (e.g. `doctl app spec validate-offline`)

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17539,7 +17539,7 @@ Failed to retrieve latest version; falling back to: ${fallbackVersion}`);
core.info(`>>> doctl version v${version} installed to ${path}`);

// Skip authentication if requested
// for workflows where auth isn't necessary (e.g. doctl app spec validate)
// for workflows where auth isn't necessary (e.g. doctl app spec validate-offline)
var no_auth = core.getInput('no_auth');
if (no_auth.toLowerCase() === 'true') {
core.info('>>> Skipping doctl auth');
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Failed to retrieve latest version; falling back to: ${fallbackVersion}`);
core.info(`>>> doctl version v${version} installed to ${path}`);

// Skip authentication if requested
// for workflows where auth isn't necessary (e.g. doctl app spec validate)
// for workflows where auth isn't necessary (e.g. doctl app spec validate-offline)
var no_auth = core.getInput('no_auth');
if (no_auth.toLowerCase() === 'true') {
core.info('>>> Skipping doctl auth');
Expand Down

0 comments on commit 8fa9679

Please sign in to comment.