Skip to content

fix: remove -x from set -euxo pipefail to prevent secret leakage#70

Merged
f-thiele merged 1 commit into
mainfrom
fix/remove-x-from-set-pipefail
Jun 17, 2026
Merged

fix: remove -x from set -euxo pipefail to prevent secret leakage#70
f-thiele merged 1 commit into
mainfrom
fix/remove-x-from-set-pipefail

Conversation

@f-thiele

Copy link
Copy Markdown
Contributor

Summary

Removes the -x flag from set -euxo pipefail to prevent secrets from being printed in GitHub Actions logs.

The -x flag causes bash to print each command before executing it, which can expose secret values that are passed as environment variables or arguments.

Related Issue

Closes SneaksAndData/terraform#7626

Changes

  • Replaced set -euxo pipefail with set -euo pipefail in affected workflow files

@f-thiele
f-thiele requested a review from a team as a code owner June 17, 2026 09:35
@f-thiele
f-thiele merged commit e359b15 into main Jun 17, 2026
1 check passed
@f-thiele
f-thiele deleted the fix/remove-x-from-set-pipefail branch June 17, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants