Made a custom integration or card? I've created an all-in-one GitHub Action for you!

I’ve already made a GitHub Action workflow file for custom components. But I decided to make a whole GitHub Action for it, using composite actions which can lint JS and Python. Let me know if you like it.

  • With formatting (black + isort for python, prettier for js) You can disable it if you want
    • It’ll go ahead and pull it, format it, and amend the changes to the last commit.
  • With lint
    • JS: Run ESLint to catch syntax errors
    • Python: It runs Hassfest (to catch invalid integrations), HACS (to catch invalid HACS integrations), and flake8 (to catch invalid python).


1 Like

Hey @KTibow thanks for putting this together. I merged your pull request without really checking and I’ve been getting an error (and email notification) every day. Here it is:

Do you have any suggestions on how to get the tests passing and this resolved?

This has been happening for no reason, on some repos, but not others. I’m going to try to investigate what’s happenning. You can go ahead and just remove the cron part for the meantime:

schedule: - cron: '0 0 * * *'

1 Like

Same here on your PR: https://github.com/epenet/hassRenaultZE/runs/1317259008?check_suite_focus=true

Really, GitHub?