-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support public repositories with secretscanning
, or pushprotection
#72
Comments
Thank you for this feedback 🙇 I am keen for your thoughts on how we could improve this:
The reason for this is we had people committing in large files of repos and we got feedback that this was 💩. So We changed it to stop that. Was the Are you a GHES (enterprise server) customer? Or a GHEC customer? The reason I ask is this:
For GHEC (github.com) everything should automatically be enabled? 👀 so you shouldn't need to enable for any public repos? 🤔 What were you looking to do. Thanks for the feedback @timja 🙇 I would love to make this better and if there was a bug happy to make changes to get it working. |
There is soo much text in the README. I skipped passed the instructions and went to this step where I could start copying commands: I would suggest creating the file if it doesn't exist, changing the code from doing a straight import of it to using file system APIs and handling it for the user. This step seems really unnecessary if you are running
Cloud
Push protection and secret scanning is not enabled automatically for public repos. Note: As shown in the error you do not need to explicitly enable advanced security, but you still do need to enable the features |
Will add this to the backlog 👍
hmmm 🤔 I know push protection is but secret scanning should be 🤔 anyway, thanks for the feedback 👍 you obviously ran into a bug, thanks for logging it 👍 I am working on another feature here, but after that will get around to fixing both these problems 🙇 |
Hey @timja 👋 Just wanted to let you know I fixed this problem:
I am now going to take a look at this:
Will try and have something done by EOW. I will leave this issue open until both are fixed 👍 |
I hit a few issues when trying to run this repo.
yarn run getRepos
secretscanning
orpushprotection
was enabled but public repositories always have AS enabled this caused the script to error out.Error:
My diff to make this work:
Anyway thanks for the repo saved me time and it's all working with my hacks
The text was updated successfully, but these errors were encountered: