diff --git a/.github/workflows/kicad-klc-check.yml b/.github/workflows/kicad-klc-check.yml index 00f1029..3683bab 100644 --- a/.github/workflows/kicad-klc-check.yml +++ b/.github/workflows/kicad-klc-check.yml @@ -2,20 +2,23 @@ name: "KLC Compliance Check" on: # Triggers the workflow on push or pull request events but only for the "main" branch - # and if + # and if relevant files have changed, including this GitHub action files push: branches: [ "main" ] - paths: "SimPanel.pretty/*.kicad_mod" + paths: + - "SimPanel.pretty/*.kicad_mod" + - ".github/workflows/kicad-klc-check.yml" pull_request: branches: [ "main" ] - paths: "SimPanel.pretty/*.kicad_mod" + paths: + - "SimPanel.pretty/*.kicad_mod" + - ".github/workflows/kicad-klc-check.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: - # This workflow contains a single job called "build" - build: + KLC_ComplianceCheck: runs-on: ubuntu-latest steps: