Skip to content

only write to config when using PAT #52

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

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

t-monaghan
Copy link
Member

Summary

In order to make CI able to install hotel we write a token to a config file. However the behaviour I wrote for this was always writing to a config file whether being installed in CI or on a developer's machine.

Changes

A new variable has been introduced to check if we are using a PAT, and if so the install script will write to file. Previously we were checking if a variable containing the token existed, however this variable always existed.

PR that introduced this bug

#51

@burritobill burritobill merged commit 7dc76c0 into main Oct 8, 2024
5 checks passed
@burritobill burritobill deleted the tfm/stop-install-writing-pat branch October 8, 2024 03:07
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.

2 participants