Repository navigation
chore: drop the committed .env and ignore it - #1743
Conversation
|
Hey @mbrandenburger 👋 thanks for the PR! This comment updates automatically as you push changes -- think of it as your PR's live scoreboard! PR Checks✅ DCO Sign-off -- All commits have valid sign-offs. Nice work! ❌ GPG Signature -- Heads up! The following commits don't have a verified GPG signature:
You'll need to sign your commits with GPG (e.g. ✅ Merge Conflicts -- No merge conflicts detected. Smooth sailing! ❌ Issue Link -- This PR is not linked to any issue. Please reference an issue using a closing keyword (e.g. ⏳ All checks must pass before this PR can be reviewed. You've got this! |
|
Tick the box to add this pull request to the merge queue (same as
|
The file set GINKGO_TEST_OPTS, but nothing ever read it: the Makefile defines those options itself and includes only checks.mk, and no script, workflow, or test references .env. It was a local override that got committed and then went stale. A committed .env is also exactly what secret scanners and the OpenSSF Best Practices review flag, even when -- as here -- it holds nothing sensitive. Remove it and gitignore the path so a real local .env cannot be committed by accident. Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>
6aeedc2 to
15429da
Compare
Removes the committed
.envand ignores the path.The file set
GINKGO_TEST_OPTS, but nothing ever read it: the Makefile defines those options itself (Makefile:24-25) and includes onlychecks.mk, and no script, workflow, or test references.env. It was a local override that got committed and then went stale.A committed
.envis also exactly what secret scanners and the OpenSSF Best Practices review flag, even when — as here — it holds nothing sensitive.Part of #1741
How it was verified
Confirmed unreferenced by grepping the Makefile,
checks.mk,scripts/,ci/,.github/workflows/, and the Go tree, so deleting it changes nothing at build or test time.git check-ignore -v .envconfirms the new ignore rule takes effect.