Skip to content

agileek/action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACS Action

Repository validation action for HACS

Inputs

Input Description
ignore A space seperated list of ignored checks
category The type of repository (integration, plugin, theme, netdaemon, appdaemon, python_script)
comment Post the results of the cheks to the PR (true, false)

Example

name: HACS Action

on:
  push:
  pull_request:
  schedule:
    - cron: "0 0 * * *"

jobs:
  hacs:
    name: HACS Action
    runs-on: "ubuntu-latest"
    steps:
      - uses: "actions/checkout@v2"
      - name: HACS Action
        uses: "hacs/action@main"
        with:
          category: "CHANGE_ME!"

Ignorable checks

All these checks can be disabled with with.ignore. Use a string, and if you ignore multiple ones, seperate them with spaces.

Check More info Description
archived More info Checks if the repository is archived
brands More info Checks if the domain is added to the brands repo
description More info Checks if the repository has a description
hacs More info Loads the repository with HACS
hacsjson More info Checks that hacs.json exists
images More info Checks that the info file has images
information More info Checks that the repo has an information file
issues More info Checks that issues are enabled
requirements Checks that the integration does not import builtin python packages
topics More info Checks that the repository has topics
wheels More info Checks if the domain is added to the custom wheels repo

Versions

To use a specific version of this action instead of main set the value after @ in the uses definition, like:

If you do this, please enable dependabot to help you keep that up to date.

Packages

No packages published

Languages

  • Shell 61.7%
  • Python 38.3%