-
Notifications
You must be signed in to change notification settings - Fork 2
/
autogit.yml
118 lines (118 loc) · 6.02 KB
/
autogit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Generated by autogit version: v2.1.2
# # uncomment settings u wish to override
#
changelog:
REPOSITORY_OWNER: darklab8
REPOSITORY_NAME: argocd-cue
# # templating lines used to form changelog. Replace REPOSITORY_OWNER and REPOSITORY_NAME with your own values
# commitUrl: "https://github.com/{{.REPOSITORY_OWNER}}/{{.REPOSITORY_NAME}}/commit/{{.CommitHash}}"
# commitRangeUrl: "https://github.com/{{.REPOSITORY_OWNER}}/{{.REPOSITORY_NAME}}/compare/{{.From}}...{{.To}}?diff=split"
# issueUrl: "https://github.com/{{.REPOSITORY_OWNER}}/{{.REPOSITORY_NAME}}/issues/{{.Issue}}"
#
# headings:
# semver_major: Breaking Changes
# semver_minor: Features
# semver_patch: Fixes
# merge_commits:
# default: Merge Commits
# with_linked_pr: Pull Requests
# # Active if redirect_merging_to_semver_sections_for_changelog: true
# # commits that which did not get sorted, remain in Section with this prefix
# prefix_for_undirected: Undirected
#
# merge_commits:
# # gets into changelog only if regex.pull_request is matching
# # renames changelog section Merge Commits into Pull Requests
# must_have_linked_pull_request: true
#
# # redirects to sections `Major Changes`, `Minor Changes`, `Patch Changes` for changelog
# # if finds in commit Subject or Footer Token relevant types
# redirect_merging_to_semver_sections_for_changelog: true
#
# # Commits of this type will fall into special section for changelog
# commit_types:
# - "Merge"
# - "merge"
#
# # header is copied from https://gist.github.com/marcojahn/482410b728c31b221b70ea6d2c433f0c, type, scope, subject, the rest
# regex:
# # regex values are used to parse correctly commit message. Likely hook of any changes necessary is low, but could be useful
# conventionalCommit:
# headers:
# # type(scope): header\n\nbody. Default one. First priority
# - '^([a-z]+)(?:\(([\w]+)\))?(\!?): (?:([ -~]+))(?:\n\n([\s -~]*)|[\n])?\z'
#
# # Version one made less restrictive to parse default Github Merge commits for Pull Requests. (Merge), (2nd)?:?
# # Example: "Merge pull request #13 from Orgname/feat/dev_branch"
# - '^(Merge)(?:\(([\w]+)\))?(\!?)?:? (?:([ -~]+))(?:\n\n([\s -~]*)|[\n])?\z'
#
# # body can have "token: content" multiple footers
# # content can be multiline as long as additional lines start with at least one space
# bodyFooter: '(?m)(?:(^[^\#][[ -9;-~]+))\: (?:([ -9;-~]+((\n[ \t]((.*)+))+)?))'
# issue: 'i-\#([0-9]+)' # Regex to grab linked issue. Lets grab prefixed i-only. Otherwise conflicts with GH PR links
# pull_request: '\#([0-9]+)'
# # copied from https://semver.org/spec/v2.0.0.html . Modified to make Patch as optional with '\.?(0|[1-9]\d*)?'
# semVer: '^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.?(0|[1-9]\d*)?(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
# prerelease: '(?:a\.([0-9]+))?\.?(?:b\.([0-9]+))?\.?(?:rc\.([0-9]+))?'
# validation:
# scope:
# lowercase: '^[a-z]+$' # scope is made only out of english lower case letters by default
# type:
# lowercase: '^[a-z]+$' # type is made only out of english lower case letters by default
#
# validation:
# sections:
# hook:
# commitMsg:
# enabled: true # validates submitted commits for repository, if hook is activated
# rules:
# issue:
# # forces to link github/gitlab issue. Depends on correct regex.issue (configured for Github)
# present: false
# header:
# # Max Github(and may be for others) readable commit length for first line of a commit msg
# maxLength: 72
# type:
# lowercase: true
# # Add yours if desired. Empty list means everything is allowed
# allowlists:
# # for increasing major vers, write type as `feat!`
# semver_minor_increases: # This group is rendered to changelog
# - "feat" # Commits, that adds a new feature
# semver_patch_increases: # This group is rendered to changelog
# - "fix" # Commits, that fixes a bug
# - "build" # Commits, that affect build components like build tool, dependencies, ...
# - "docs" # Commits, that affect documentation only. Comments are part of docs
# - "perf" # Commits (Child of refactor) are refactor commits, that improve performance
# - "revert" # Commits, to revert stuff
# for_commit_msg_check_only: # not affecting semver. Not shown in changelog.
# - "chore" # Miscellaneous commits e.g. modifying .gitignore
# - "refactor" # Commits, that rewrite your code, but do not change any API behaviour
# - "style" # Commits, that do not affect the meaning (white-space, formatting, etc)
# - "test" # Commits, that add missing tests or correcting existing tests
# - "ops" # Commits, that affect operational components like infrastructure, deployment, ...
# - "ci" # Commits, (Child of ops) Configuring or reparing CI
# - "merge" # Commits to merge branches. Usually we use lowcase ones to update dev branch with master commits
# scope:
# # feat(scope): smth. Forces to write scope of a commit. Participes in changelog generation
# enforced_for_commit_types: []
# # add any commit type for which u wish to enforce scope being present
# # or set enforced_for_commit_types: [], for disabling it
# # - feat
# # - fix
# # - build
# # - docs
# # - perf
# # - revert
# lowercase: true
# allowlist: [] # which scopes are allowed.
# # allowlist: []. Empty list means allowed everything.
# # for example:
# # - api
# subject:
# minWords: 3 # 3 or higher value helps to write more meaningful commits
#
# # expects to find file `id_rsa` in ~/.ssh for `autogit semver --push` command
# # where ~ your home folder discovered with env var HOME
git:
sshPath: id_rsa.dd84ai