Skip to content

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

Open
f-thiele wants to merge 2 commits into
mainfrom
fix/remove-x-from-set-pipefail
Open

fix: remove -x from set -euxo pipefail to prevent secret leakage#598
f-thiele wants to merge 2 commits into
mainfrom
fix/remove-x-from-set-pipefail

Conversation

@f-thiele

Copy link
Copy Markdown

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 review from a team and timonviola and removed request for a team June 17, 2026 09:34
@github-actions

Copy link
Copy Markdown

Coverage

Tests Skipped Failures Errors Time
410 5 💤 0 ❌ 0 🔥 1m 25s ⏱️

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.

1 participant