mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-03 19:36:30 +08:00
22 lines
619 B
YAML
22 lines
619 B
YAML
name: printer-linter-format
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'resources/definitions/**'
|
|
- 'resources/extruders/**'
|
|
- 'resources/intent/**'
|
|
- 'resources/quality/**'
|
|
- 'resources/variants/**'
|
|
|
|
jobs:
|
|
printer-linter-format:
|
|
name: Printer linter auto format
|
|
uses: ultimaker/cura-workflows/.github/workflows/lint-formatter.yml@main
|
|
with:
|
|
file_patterns: |
|
|
resources/+(definitions|extruders)/*.def.json
|
|
resources/+(intent|quality|variants)/**/*.inst.cfg
|
|
command: python printer-linter/src/terminal.py --format
|
|
commit_message: "Apply printer-linter format"
|