printer-linter-format.yml 619 B

123456789101112131415161718192021
  1. name: printer-linter-format
  2. on:
  3. push:
  4. paths:
  5. - 'resources/definitions/**'
  6. - 'resources/extruders/**'
  7. - 'resources/intent/**'
  8. - 'resources/quality/**'
  9. - 'resources/variants/**'
  10. jobs:
  11. printer-linter-format:
  12. name: Printer linter auto format
  13. uses: ultimaker/cura-workflows/.github/workflows/lint-formatter.yml@main
  14. with:
  15. file_patterns: |
  16. resources/+(definitions|extruders)/*.def.json
  17. resources/+(intent|quality|variants)/**/*.inst.cfg
  18. command: python printer-linter/src/terminal.py --format
  19. commit_message: "Apply printer-linter format"