Skip to content

Add GITHUB_USERNAME to environment variables and update extraction logic #100

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devanshjainms
Copy link

This pull request introduces a small but impactful change to make the script more dynamic by replacing a hardcoded GitHub username with a configurable environment variable. The changes ensure better reusability and adaptability for different users.

Environment Variable Update:

  • demo/.env.example: Added a new GITHUB_USERNAME variable to the example environment file to allow users to specify their GitHub username.

Code Update for Dynamic Username:

  • demo/extract_github_data.py: Updated the main() function to load the GITHUB_USERNAME value from the environment and replaced the hardcoded username "jennifermarsman" with the github_username variable for filtering repositories. [1] [2]

@jennifermarsman
Copy link
Member

@devanshjainms Hi, thanks for your contribution! I'm taking some time off after Build so please forgive the delay in response, but I will be back in the office next week and will take a look at this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants