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

Add environmental variables for GitHub tokens #41

Merged
merged 3 commits into from
Oct 11, 2022
Merged

Add environmental variables for GitHub tokens #41

merged 3 commits into from
Oct 11, 2022

Conversation

pzmi-f3
Copy link
Contributor

@pzmi-f3 pzmi-f3 commented Sep 30, 2022

GitHub tokens can be passed only using command line options. This limits certain deployments which use environmental variables. Systems without a shell cannot expand environmental variables in command line arguments.

This change adds an option to use environmental variables to pass GitHub webhook token and GitHub API token.

pzmi-f3 and others added 3 commits September 30, 2022 17:12
GitHub tokens can be passed only using command line options.
This limits certain deployments which use environmental variables. Systems without a shell cannot expand environmental variables in command line arguments.

This change adds an option to use environmental variables to pass GitHub webhook token and GitHub API token.

Signed-off-by: Patryk Zmigrodzki <patryk.zmigrodzki@form3.tech>
@pzmi-f3
Copy link
Contributor Author

pzmi-f3 commented Oct 11, 2022

Hello @cpanato! What do you think about this change?

@cpanato
Copy link
Owner

cpanato commented Oct 11, 2022

Hello @cpanato! What do you think about this change?

sorry for the delay I was out last week, will take a look

thanks so much for the PR

Copy link
Owner

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

cool

@cpanato cpanato merged commit d62c4ad into cpanato:main Oct 11, 2022
@pzmi-f3 pzmi-f3 deleted the add-envvar-secret branch October 11, 2022 15:54
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.

None yet

2 participants