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

Refactor gh secret and context management #7

Merged
merged 3 commits into from
Jan 2, 2024
Merged

Conversation

sebastianrath
Copy link
Member

This PR comes with a refactoring out the gh secret and context management, including several bugfixes.

The context object github.token is removed as it doesn't exist, and instead the proper objects github.token and secrets.GITHUB_TOKEN are introduced, both of which are functionally equivalent. They are both added to the unit tests as well.

@sebastianrath sebastianrath self-assigned this Jan 2, 2024
@sebastianrath sebastianrath merged commit b103b23 into main Jan 2, 2024
1 check passed
@sebastianrath sebastianrath deleted the issue-secrets branch January 2, 2024 02:58
@sebastianrath sebastianrath linked an issue Jan 2, 2024 that may be closed by this pull request
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.

Secret tokens and context objects are not found
1 participant