Skip to content

Commit

Permalink
Use GITHUB_REPOSITORY_ID as default salt
Browse files Browse the repository at this point in the history
  • Loading branch information
Laugslander committed Jan 8, 2024
1 parent 36f6627 commit ae4b571
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export function getConfig(): Config {
),
ENVIRONMENT: core.getInput("ENVIRONMENT", { required: false }),
TARGET: core.getInput("TARGET", { required: false }),
AUDIT_LOG_HASHING_SALT: core.getInput("AUDIT_LOG_HASHING_SALT", {
required: false,
}),
AUDIT_LOG_HASHING_SALT:
core.getInput("AUDIT_LOG_HASHING_SALT") ||
process.env.GITHUB_REPOSITORY_ID
};

if (config.DRY_RUN) {
Expand Down

0 comments on commit ae4b571

Please sign in to comment.