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

Automatically update minimum HA version in HACS config #556

Merged
merged 2 commits into from
Jun 28, 2022

Conversation

KapJI
Copy link
Collaborator

@KapJI KapJI commented Jun 27, 2022

Keep minimum HA version in hacs.json in sync with current installed version in poetry. Poetry dependencies should be a single source of truth.

Creating actual commit is a bit more difficult then updating a single file but it's some fun to play with github api. I didn't give it a proper test because I'm quite lazy for this, let's test in prod :) If it doesn't work, I'll submit a fix.

@KapJI KapJI requested a review from leikoilja June 27, 2022 10:40
Copy link
Owner

@leikoilja leikoilja left a comment

Choose a reason for hiding this comment

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

Looks cool! Some serious levels of automation we are getting in here 😄 Thanks, man!
I wonder if it will work on the first try :P

@leikoilja leikoilja merged commit d188792 into leikoilja:master Jun 28, 2022
@KapJI KapJI deleted the update-hacs branch June 28, 2022 10:48
@KapJI KapJI added the github structure Pull requests that update Github actions/workflow code label Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github structure Pull requests that update Github actions/workflow code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants