nomi-ceu/Secret Checker
GitHub Action to see whether secrets are present and set.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| secrets | Secrets as JSON. REQUIRED. | yes | — |
| check | Secrets that must all exist for this action to return true. Separated by newlines. REQUIRED. | yes | — |
| allowEmpty | Allows secrets to pass the check if they are set to an empty value. Optional; defaults to false. | no | false |
| pattern | Describes a regular expression which must successful match against secret values for them to be considered valid. Optional. | no | "" |
| throwIfFail | Throws an error if NOT ALL secrets are present and set to a non-empty value. Optional; defaults to false. | no | false |
| throwIfSuccess | Throws an error if ALL secrets are present and set to a non-empty value. Optional; Defaults to false. | no | false |
Outputs
| name | description |
|---|---|
| success | Whether all secrets exist and are set to a non-empty value. Returns 'true' or 'false'. |