Skip to content
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

Update or enhancing delete_repo.sh #113

Closed
wants to merge 6 commits into from

Conversation

bhavya1857
Copy link

@bhavya1857 bhavya1857 commented Jun 22, 2023

Have already mentioned the issue
closes #111

this is in the reference to the code given in index.html where we see the github_secrets.py code is entirely missing. Its entirely missing from scripts folder too
@sahil-sagwekar2652
Copy link
Owner

we don't need the github_secrets.py file. It's supposed to be created by each user at installation.

@bhavya1857
Copy link
Author

bhavya1857 commented Jul 16, 2023

@sahil-sagwekar2652 here we are just enhancing the delete_repo.sh, if it feels not good to you- then you can just close this PR then. Its fine

@sahil-sagwekar2652
Copy link
Owner

Don't get me wrong, the idea is good. We just need better implementation. Let me know if you want to work on it or else I'll close it.

@bhavya1857
Copy link
Author

so what all things i need to correct in this

@sahil-sagwekar2652
Copy link
Owner

First check the flake8 linter output (github actions) and fix the styling accordingly. You need to import the key from the github_secrets.py file instead of passing it as a comman line argument.

@sahil-sagwekar2652 sahil-sagwekar2652 added gssoc23 Issues created for GSSoC 23 contributors level2 labels Jul 17, 2023
@bhavya1857
Copy link
Author

can you assign this to someone else, as i'm unable to do it

"""Get the GitHub personal access token and username and print them to the console."""

github_api_token, username = get_github_secrets()
print("GitHub personal access token:", github_api_token)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.

github_api_token, username = get_github_secrets()
print("GitHub personal access token:", github_api_token)
print("GitHub username:", username)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (secret)
as clear text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc23 Issues created for GSSoC 23 contributors level2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enhancing- scripts/delete_repo.sh
2 participants