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

Fix environment variable name for flake visibility #125

Merged
merged 7 commits into from
Apr 24, 2024
Merged

Conversation

lucperkins
Copy link
Member

@lucperkins lucperkins commented Apr 21, 2024

The issue here is pretty clear (misspelled environment variable = bad). This fixes that while also providing an escape hatch in case anyone is using FLAKEHUB_PUSH_VISIBLITY anywhere. The escape hatch isn't super elegant here so if there's a fancy way to do this in Clap I'm all ears.

src/cli/mod.rs Outdated Show resolved Hide resolved
@lucperkins lucperkins requested a review from cole-h April 24, 2024 15:22
@cole-h
Copy link
Member

cole-h commented Apr 24, 2024

LGTM, but have you tested another repo against this branch?

Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

Tested:

  • current action on main with binary from this PR
  • action from this PR with binary from this PR
  • action from this PR with binary from an older commit on main

And all seems to work 👍

@lucperkins lucperkins merged commit f4df6dd into main Apr 24, 2024
10 checks passed
@lucperkins lucperkins deleted the fix-env-var-name branch April 24, 2024 20:20
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.

3 participants