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: improve context handling #491

Merged
merged 8 commits into from
Jan 27, 2025
Merged

refactor: improve context handling #491

merged 8 commits into from
Jan 27, 2025

Conversation

woodruffw
Copy link
Owner

@woodruffw woodruffw commented Jan 27, 2025

This refactors context handling to be more generic/consistent. In particular, it aims to ensure that we do case-insensitive context comparisons as often as possible, since that's what GitHub itself does (i.e. github.ref == GITHUB.REF).

It also removes a few more persistent sources of unneeded allocations/reallocations of strings, although there's still a lot that could be done there.

@woodruffw woodruffw added enhancement New feature or request refactor Refactoring tasks labels Jan 27, 2025
@woodruffw woodruffw self-assigned this Jan 27, 2025
@woodruffw woodruffw merged commit 4fdfdb6 into main Jan 27, 2025
6 checks passed
@woodruffw woodruffw deleted the ww/refactor-contexts branch January 27, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Refactoring tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant