👷 Split validate workflow between Forgejo and GitHub #43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "forgejo-workflows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split the validate workflow so each forge runs only the jobs it can.
.forgejo/workflows/validate.yml (new) — portable jobs
lint-ruff,test-pytest,type-check-mypy.Forgejo only reads
.github/workflowsas a fallback when.forgejo/workflowsdoes not exist. Since.forgejo/workflowsalready containedrenovate.yml, thevalidateworkflow was never executed on Forgejo — so lint, tests and the mypy type check have been silently skipped since the migration to Forgejo. Moving the portable jobs into.forgejo/workflowsmakes them run again..github/workflows/validate.yml — GitHub-only jobs
Trimmed to
validate-hacsandvalidate-hassfest:hacs/actionqueries the HACS backend for the repository ongithub.comhome-assistant/actions/hassfestis Docker-based and GitHub-onlyKept the
github.server_url == 'https://github.com'guards so they only run on GitHub.Result
c004036e8575f28607f7👷 Move validate workflow to Forgejo Actionsto 👷 Split validate workflow between Forgejo and GitHub