-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Action just reports Not Found #4229
Comments
Make sure you have read the issue guidelines and that you filled out the entire template. If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍 |
I did some more poking around and my intuition is that it's this: Lines 175 to 176 in aeb2a44
Firing, maybe because my repo needs to already be in HACS for this lint to work? But it's hard for me to guess and I couldn't see an easy path to running this locally to be able to inspect it a little closer. |
Did you try to make the custom integration repository structure compliant? |
Yes. The repo previously wasn't compliant, and the action gave me an error to that effect (I linked to such a run in my issue, but it says However, now that my repo is (I believe) compliant, the action just says |
I did not notice you were working in a branch, not sure if related to the current error but there doesn't seem to be a |
I bet that's the issue!! I didn't realise I needed one, I might have started from the wrong guide. I'm going to update my PR here to also show where |
If that's not the case, it might be the branch name containing a forward slash. |
Seemingly not, to either. :( I just created a new PR off a branch with no slash in it. Do I need to add credentials to my action or something? I am really not sure what I've done wrong, the hassfest action is working and the way I have them setup appears very similar. Do I need to setup any extra permissions on the repo or something? This is the latest run, still giving the same error: https://github.com/richo/homeassistant-franklinwh/actions/runs/12059681208/job/33628744289 |
In case you're also looking at this, I managed to get the action to run locally and it's barfing with a
seemingly caused by including the |
I just opened a PR with a candidate fix for this, it appears to work locally but I had to work around some of how ref parsing works in order to make it go. The tl;dr is that for some configurations the ref is silently ignored and whatever manifest exists on the default branch was what was checked, which probably mostly works since I'm guessing it's relatively rarely changed. |
Describe the issue
I'm trying to use the action to validate my integration and get it ready for HACS, but the action just reports
Error: Not Found
when I run it with my code in acustom_components
directory.I've been shotgun debugging it all morning, it correctly reports that my structure is incorrect when there's a module at the root so I'm not sure what I'm doing wrong. I'm happy to try to add some diagnostics for future travelers.
I've linked to my actions run if but if you look at some earlier ones like https://github.com/richo/homeassistant-franklinwh/actions/runs/12056265608/job/33618408938 it is definitely looking at the right repo.
Link to action run
https://github.com/richo/homeassistant-franklinwh/actions/runs/12056306977/job/33618539938?pr=20
Link to action configuration
https://github.com/richo/homeassistant-franklinwh/blob/main/.github/workflows/validate.yaml
Checklist
The text was updated successfully, but these errors were encountered: