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 bad1d82
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ 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 bad1d82

Please sign in to comment.