-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add Atomberg fan #48
Add Atomberg fan #48
Conversation
Hello, please would you be so kind to merge your PR with the updated master and remove update of the docs? Those are now generated automatically |
Surely, will do today |
Hi, not related to this. Should we consider moving test_data.py to a scripts folder like convention in other projects. Also that way root folder will not be cluttered if we add more checking scripts in the future |
507ab5f
to
b6c47b5
Compare
Action is unable to checkout branch 😔 Refer: actions/checkout#1108 |
Looks like the action for some reason uses wrong fetch command IN THIS PR /usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* IN PR 46 /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +2b0b899ce2283c6e26410880547ccec0c1e4ffbf:refs/remotes/pull/46/merge |
I know, this issue bash me also on other PR. I have no idea why. I simply use checkout@v4 action, with depth 0. Do you have any idea how to fix this? |
I guess the ref is wrong in the workflow. Try changing that first Is this essential ?
|
the ref is actually copy paste from the Prettier action examples; https://github.com/marketplace/actions/prettier-action (example 2) ${{ github.ref_name }} shall be name of the current branch in the action context |
Yup but it only works if the ref_name is within the current repo, which is not the case here. Try removing this line once maybe. |
This seems to be related to our case: actions/checkout#1108 I need to play with the actions anyway, as another issue is when I use action on PR, which would reformat some of the files and try to commit changes - see here: https://github.com/litinoveweedle/SmartIR/actions/runs/9920136130/job/27407490244 So my proposal would be to move reformat into the action triggered by push, I just didn't want to do such changes over master. |
BTW: proposed solution mentioned above is:
|
OK, I updated the worflow in the master, but the issue is, that workflow in this PR still points to the old version and I didn't find a way, how to run new workflow against older PR. :-o |
Should i do a new pr ? |
I am afraid, that it is only way I know how to use updated action, sorry. |
No worries, i will push tomorrow no big deal 😁 |
Moved to #74 |
Manufacturer: Atomberg
Model: Studio+
https://atomberg.com/atomberg-studio-plus-bldc-motor-with-remote-3-blade-ceiling-fan