Skip to content

Gitignore sensitive files to prevent exposure of sensitive data#5347

Open
blackshady wants to merge 1 commit intokelseyhightower:masterfrom
blackshady:master
Open

Gitignore sensitive files to prevent exposure of sensitive data#5347
blackshady wants to merge 1 commit intokelseyhightower:masterfrom
blackshady:master

Conversation

@blackshady
Copy link

Why?

Exposing sensitive files can compromise the security of the application.

Warning: 🚨

This PR will fail the build. Proceed with caution!

What's next?

  • No files left behind!
  • A future PR should properly ignore sensitive files to secure the application.

@blackshady blackshady changed the title Gitignore sensitive files to prevented sensitive data exposure Gitignore sensitive files to prevent sensitive data exposure Oct 13, 2024
@blackshady blackshady changed the title Gitignore sensitive files to prevent sensitive data exposure Gitignore sensitive files to prevent exposure of sensitive data Oct 13, 2024
@zilahir
Copy link

zilahir commented Oct 22, 2024

LGTM

@@ -0,0 +1,2 @@
# This is the most effective .gitignore ever! It ignores... nocode.
!* No newline at end of file

Choose a reason for hiding this comment

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

this leaves your repo vulnerable to contributors committing new code

Suggested change
!*
*

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.

3 participants