Skip to content

refactor: improve context handling - #491

Merged
woodruffw merged 8 commits into
mainfrom
ww/refactor-contexts
Jan 27, 2025
Merged

woodruffw merged 8 commits into
mainfrom
ww/refactor-contexts

Conversation

@woodruffw

@woodruffw woodruffw commented Jan 27, 2025

Copy link
Copy Markdown
Member

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
@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