Skip to content

chore: drop the committed .env and ignore it - #1743

Merged
mbrandenburger merged 1 commit into
hyperledger-labs:mainfrom
mbrandenburger:pr2-drop-env
Sep 7, 2026
Merged

mbrandenburger merged 1 commit into
hyperledger-labs:mainfrom
mbrandenburger:pr2-drop-env

Conversation

@mbrandenburger

Copy link
Copy Markdown
Member

Removes the committed .env and 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 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.

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 .env confirms the new ignore rule takes effect.

@mbrandenburger mbrandenburger added this to the 26Q3 milestone Sep 7, 2026
@mbrandenburger mbrandenburger self-assigned this Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Hey @mbrandenburger 👋 thanks for the PR!
I'm your friendly PR Helper Bot 🤖 and I'll be riding shotgun on this one, keeping track of your PR's status to help you get it approved and merged.

This comment updates automatically as you push changes -- think of it as your PR's live scoreboard!
Here's the latest:


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:

  • 15429da chore: drop the committed .env and ignore it

You'll need to sign your commits with GPG (e.g. git commit -S). See the Signing Guide for a step-by-step walkthrough.


✅ 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. Fixes #123) and ensure the issue is assigned to you. Every PR needs a home!


⏳ All checks must pass before this PR can be reviewed. You've got this!

@github-actions github-actions Bot added the status: needs revision The pull request requires changes from the author before it can be reviewed or merged label Sep 7, 2026

@adecaro adecaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify

mergify Bot commented Sep 7, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mbrandenburger
mbrandenburger enabled auto-merge (squash) September 7, 2026 10:48
@mbrandenburger
mbrandenburger enabled auto-merge (squash) September 7, 2026 11:09
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>
@mbrandenburger
mbrandenburger merged commit e00138c into hyperledger-labs:main Sep 7, 2026
12 of 13 checks passed
@mbrandenburger
mbrandenburger deleted the pr2-drop-env branch September 7, 2026 11:09
@mbrandenburger mbrandenburger mentioned this pull request Sep 7, 2026
10 of 12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore status: needs revision The pull request requires changes from the author before it can be reviewed or merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants