"is not valid under any of the schemas listed in the 'anyOf' " error

How to resolve this error? I inserted the schema at the top of the all modules.yml file and the error still persists https://github.com/Heus-Sueh/hyprland/actions/runs/12341245834/job/34439644091#step:4:2323
GitHub
add the schema on the top of every module.yml · Heus-Sueh/hyprland@...
My Blue image. Contribute to Heus-Sueh/hyprland development by creating an account on GitHub.
Solution:
I solved it by putting "[ ]" where there is an empty list
Jump to solution
4 Replies
Luke Skywunker
Adding that to the top of your file will just make it so that your editor can show you what's wrong. That is if your editor supports a language server. I believe something like VS Code will have that already
Heus
HeusOP4d ago
No description
Heus
HeusOP4d ago
can i do this in the containerfile module? use the os_version variable instead of the number
- type: containerfile
snippets:
- COPY --from=ghcr.io/ublue-os/akmods:main-%OS_VERSION% /rpms /tmp/rpms
- type: containerfile
snippets:
- COPY --from=ghcr.io/ublue-os/akmods:main-%OS_VERSION% /rpms /tmp/rpms
Solution
Heus
Heus4d ago
I solved it by putting "[ ]" where there is an empty list
Want results from more Discord servers?
Add your server