Skip to content

trunk workflow

trunk workflow #2

Workflow file for this run

# This file controls the behavior of Trunk: https://docs.trunk.io/cli

Check failure on line 1 in .github/workflows/trunk.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/trunk.yaml

Invalid workflow file

(Line: 3, Col: 1): Unexpected value 'version', (Line: 4, Col: 1): Unexpected value 'cli', (Line: 7, Col: 1): Unexpected value 'plugins', (Line: 13, Col: 1): Unexpected value 'runtimes', (Line: 18, Col: 1): Unexpected value 'lint', (Line: 31, Col: 1): Unexpected value 'actions', (Line: 3, Col: 1): Required property is missing: jobs
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.25.0
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.7.4
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- node@22.16.0
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- bandit@1.9.2
- black@25.12.0
- checkov@3.2.495
- git-diff-check
- isort@7.0.0
- markdownlint@0.47.0
- osv-scanner@2.3.1
- prettier@3.7.4
- ruff@0.14.9
- trufflehog@3.92.3
- yamllint@1.37.1
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available