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

Task: Hide GitHub token in the example_processor tool #112

Open
3 tasks
otieno-juma opened this issue Jun 28, 2024 · 1 comment
Open
3 tasks

Task: Hide GitHub token in the example_processor tool #112

otieno-juma opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels

Comments

@otieno-juma
Copy link
Collaborator

Description:

Set the environment variable using the following code

import os
os.environ['GITHUB_TOKEN'] = 'your_github_token_here'

use the environment variable in your code like this:

token = os.environ.get('GITHUB_TOKEN')
  • Create a testcode for the example_processor code

Acceptance Criteria:

  • Code should identify missing examples
  • inject examples into the codebase
  • create a pull request for the user
@otieno-juma otieno-juma self-assigned this Jun 28, 2024
@otieno-juma otieno-juma changed the title Task: Implement environment variable to hide GitHub token Task: Hide GitHub token in the example_processor tool Jun 28, 2024
@bmwoodruff
Copy link
Collaborator

Automating the process all the way up to pushing to a branch of your fork sounds like a great addition. Even if the example generation tool isn't wanted, adding this functionality to the tool sounds like a great addition. Then we can refine the AI gen process to get things that are wanted.

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

No branches or pull requests

2 participants