|
| 1 | +# Full Plugin Configuration Example |
| 2 | +# All plugins working together |
| 3 | +# See: https://sley.indaco.dev/reference/sley-yaml.html |
| 4 | + |
| 5 | +path: .version |
| 6 | + |
| 7 | +plugins: |
| 8 | + # Commit Parser (enabled by default) |
| 9 | + commit-parser: true |
| 10 | + |
| 11 | + # Release Gate |
| 12 | + release-gate: |
| 13 | + enabled: true |
| 14 | + require-clean-worktree: true |
| 15 | + blocked-on-wip-commits: true |
| 16 | + require-ci-pass: false |
| 17 | + allowed-branches: |
| 18 | + - "main" |
| 19 | + - "release/*" |
| 20 | + blocked-branches: |
| 21 | + - "experimental/*" |
| 22 | + |
| 23 | + # Version Validator |
| 24 | + version-validator: |
| 25 | + enabled: true |
| 26 | + rules: |
| 27 | + - type: pre-release-format |
| 28 | + pattern: "^(alpha|beta|rc)(\\.[0-9]+)?$" |
| 29 | + - type: major-version-max |
| 30 | + value: 10 |
| 31 | + - type: max-prerelease-iterations |
| 32 | + value: 10 |
| 33 | + - type: require-even-minor |
| 34 | + enabled: false |
| 35 | + - type: branch-constraint |
| 36 | + branch: "release/*" |
| 37 | + allowed: ["patch"] |
| 38 | + - type: branch-constraint |
| 39 | + branch: "main" |
| 40 | + allowed: ["minor", "patch"] |
| 41 | + |
| 42 | + # Dependency Check |
| 43 | + dependency-check: |
| 44 | + enabled: true |
| 45 | + auto-sync: true |
| 46 | + files: |
| 47 | + - path: package.json |
| 48 | + field: version |
| 49 | + format: json |
| 50 | + - path: Chart.yaml |
| 51 | + field: version |
| 52 | + format: yaml |
| 53 | + - path: pyproject.toml |
| 54 | + field: tool.poetry.version |
| 55 | + format: toml |
| 56 | + - path: VERSION |
| 57 | + format: raw |
| 58 | + - path: src/version.go |
| 59 | + format: regex |
| 60 | + pattern: 'const Version = "(.*?)"' |
| 61 | + |
| 62 | + # Changelog Parser |
| 63 | + changelog-parser: |
| 64 | + enabled: true |
| 65 | + path: CHANGELOG.md |
| 66 | + require-unreleased-section: true |
| 67 | + infer-bump-type: true |
| 68 | + priority: commits |
| 69 | + |
| 70 | + # Changelog Generator |
| 71 | + changelog-generator: |
| 72 | + enabled: true |
| 73 | + mode: "both" |
| 74 | + format: "grouped" |
| 75 | + changes-dir: ".changes" |
| 76 | + changelog-path: "CHANGELOG.md" |
| 77 | + merge-after: "manual" |
| 78 | + repository: |
| 79 | + auto-detect: true |
| 80 | + use-default-icons: true |
| 81 | + exclude-patterns: |
| 82 | + - "^Merge" |
| 83 | + - "^WIP" |
| 84 | + - "^fixup!" |
| 85 | + - "^squash!" |
| 86 | + include-non-conventional: false |
| 87 | + contributors: |
| 88 | + enabled: true |
| 89 | + show-new-contributors: true |
| 90 | + |
| 91 | + # Tag Manager |
| 92 | + tag-manager: |
| 93 | + enabled: true |
| 94 | + auto-create: true # Default is false; set to true for automatic tagging during bump |
| 95 | + prefix: v |
| 96 | + annotate: true |
| 97 | + push: false |
| 98 | + tag-prereleases: false # Set to true to also tag pre-releases |
| 99 | + sign: false |
| 100 | + signing-key: "" |
| 101 | + message-template: "Release {version}" |
| 102 | + |
| 103 | + # Audit Log |
| 104 | + audit-log: |
| 105 | + enabled: true |
| 106 | + path: ".version-history.json" |
| 107 | + format: "json" |
| 108 | + include-author: true |
| 109 | + include-timestamp: true |
| 110 | + include-commit-sha: true |
| 111 | + include-branch: true |
0 commit comments