File tree 19 files changed +796
-2
lines changed
19 files changed +796
-2
lines changed Original file line number Diff line number Diff line change
1
+ * @ AlejandroSuero
Original file line number Diff line number Diff line change
1
+ # These are supported funding model platforms
2
+
3
+ github : AlejandroSuero
Original file line number Diff line number Diff line change
1
+ name : Bug Report
2
+ description : Report a problem with go-insert-locale
3
+ title : " [Bug]: "
4
+ labels :
5
+ - bug
6
+
7
+ body :
8
+ - type : checkboxes
9
+ id : pre-requisites
10
+ attributes :
11
+ label : Pre-requisites
12
+ description : |
13
+ Make sure to check to see if you are following this requisites.
14
+ options :
15
+ - label : The issue is reproducible
16
+ required : true
17
+ - label : The aren't other issues similar to this problem.
18
+ required : true
19
+ - label : The aren't PRs tackling this problem.
20
+ required : true
21
+
22
+ - type : markdown
23
+ attributes :
24
+ value : |
25
+ ## Issue report
26
+
27
+ - type : textarea
28
+ id : go-version
29
+ attributes :
30
+ label : Go version
31
+ description : Paste here your Go version, `go version`.
32
+ placeholder : |
33
+ go version go1.24.1 darwin/arm64
34
+ validations :
35
+ required : true
36
+
37
+ - type : dropdown
38
+ id : operative-system
39
+ attributes :
40
+ label : Operative system
41
+ description : OS in which the issue occurs
42
+ multiple : true
43
+ options :
44
+ - Windows
45
+ - MacOS
46
+ - Linux
47
+ - Android
48
+ - All systems
49
+ validations :
50
+ required : true
51
+
52
+ - type : textarea
53
+ id : os-version
54
+ attributes :
55
+ label : OS version
56
+ description : OS version in which the issue occurs
57
+ placeholder : |
58
+ MacOS 14.4.1
59
+ Windows 11
60
+ Ubuntu 22.04
61
+ ...
62
+ validations :
63
+ required : true
64
+
65
+ - type : textarea
66
+ id : issue-behaviour
67
+ attributes :
68
+ label : Behaviour
69
+ description : |
70
+ Describe the current behaviour. May include logs, images, videos ...
71
+ validations :
72
+ required : true
73
+
74
+ - type : textarea
75
+ id : repro-steps
76
+ attributes :
77
+ label : Steps to reproduce
78
+ description : List the steps to reproduce the behaviour mentioned above.
79
+ placeholder : |
80
+ 1. `gil -input "locale_data.json -output ./locales/example-dir`
81
+ ...
82
+ validations :
83
+ required : true
84
+
85
+ - type : checkboxes
86
+ attributes :
87
+ label : Code of conduct agreement
88
+ description : |
89
+ By checking this I agree to [CODE OF CONDUCT](https://github.com/AlejandroSuero/go-insert-locale/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct).
90
+ options :
91
+ - label : I agree and I am not violating the [CODE OF CONDUCT](https://github.com/AlejandroSuero/go-insert-locale/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct)
92
+ required : true
Original file line number Diff line number Diff line change
1
+ blank_issues_enabled : false
2
+ contact_links :
3
+ - name : 🆘 Code of Conduct Reports
4
+ url : https://github.com/AlejandroSuero/go-insert-locale/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct
5
+ about : Please use the contact information in Code of Conduct as issues created here are public
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Feature request
3
+ about : Suggest an idea for this project
4
+ title : " [Feat]: "
5
+ labels : enhancement
6
+ assignees : " "
7
+ ---
8
+
9
+ ## Is your feature request related to a problem? Please describe
10
+
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated
12
+ when [ ...]
13
+
14
+ ## Describe the solution you'd like
15
+
16
+ A clear and concise description of what you want to happen.
17
+
18
+ ## Describe alternatives you've considered
19
+
20
+ A clear and concise description of any alternative solutions or features you've considered.
21
+
22
+ ## Additional context
23
+
24
+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change
1
+ # Description
2
+
3
+ Please include a summary of the change and which issue is fixed. Please also
4
+ include relevant motivation and context
5
+
6
+ Fixes # (issue)
7
+
8
+ ## Type of change
9
+
10
+ Please delete options that are not relevant.
11
+
12
+ - Bug fix (non-breaking change which fixes an issue)
13
+ - New feature (non-breaking change which adds functionality)
14
+ - Breaking change (fix or feature that would cause existing functionality to not
15
+ work as expected)
16
+ - This change requires a documentation update
17
+
18
+ ## How Has This Been Tested?
19
+
20
+ Please describe the tests that you ran to verify your changes. Provide
21
+ instructions so we can reproduce. Please also list relevant details about your configuration
22
+
23
+ - [ ] Test A
24
+ - [ ] Test B
25
+
26
+ ** Configuration** :
27
+
28
+ - Go version (` go version ` ):
29
+ - Operating system and version:
30
+
31
+ ## Checklist
32
+
33
+ - [ ] My code follows the style guidelines of this project (gofmt)
34
+ - [ ] I have performed a self-review of my own code
35
+ - [ ] I have commented my code, particularly in hard-to-understand areas
36
+ - [ ] I have made corresponding changes to the documentation
37
+ - [ ] I did read the [ CODE OF CONDUCT] ( https://github.com/AlejandroSuero/go-insert-locale/blob/main/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct )
38
+ and I ** agree to follow it** .
Original file line number Diff line number Diff line change
1
+ name : codespell
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ codespell :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ - name : Install codespell
11
+ run : pip install codespell
12
+ - name : Use codespell
13
+ run : make spell
Original file line number Diff line number Diff line change
1
+ name : commitlint
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ lint-commits :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ with :
11
+ fetch-depth : 0
12
+ - run : npm install --save-dev @commitlint/{cli,config-conventional}
13
+ - run : |
14
+ echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
15
+ - run : npx commitlint --from HEAD~1 --to HEAD --verbose
Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ push :
5
+ # run only against tags
6
+ tags :
7
+ - " *"
8
+
9
+ permissions :
10
+ contents : write
11
+ # packages: write
12
+ # issues: write
13
+ # id-token: write
14
+
15
+ jobs :
16
+ goreleaser :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ with :
22
+ fetch-depth : 0
23
+ - name : Set up Go
24
+ uses : actions/setup-go@v5
25
+ with :
26
+ go-version : stable
27
+ # More assembly might be required: Docker logins, GPG, etc.
28
+ # It all depends on your needs.
29
+ - name : Run GoReleaser
30
+ uses : goreleaser/goreleaser-action@v6
31
+ with :
32
+ # either 'goreleaser' (default) or 'goreleaser-pro'
33
+ distribution : goreleaser
34
+ # 'latest', 'nightly', or a semver
35
+ version : ${{ env.GITHUB_REF_NAME }}
36
+ args : release --clean
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.PUBLISHER_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Tag PRs with merge conflicts
2
+
3
+ on :
4
+ # So that PRs touching the same files as the push are updated
5
+ push :
6
+ # So that the `dirtyLabel` is removed if conflicts are resolve
7
+ # We recommend `pull_request_target` so that github secrets are available.
8
+ # In `pull_request` we wouldn't be able to change labels of fork PRs
9
+ pull_request_target :
10
+ types : [synchronize]
11
+
12
+ jobs :
13
+ main :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : check if prs are dirty
17
+ uses : eps1lon/actions-label-merge-conflict@releases/2.x
18
+ with :
19
+ dirtyLabel : conflicts
20
+ removeOnDirtyLabel : conflicts
21
+ repoToken : " ${{ secrets.GITHUB_TOKEN }}"
22
+ commentOnDirty : " ⚠️ This PR has conflicts. Please, solve them."
23
+ commentOnClean : " ✅ The conflict have been solved! Ready to review."
Original file line number Diff line number Diff line change
1
+ builds :
2
+ - binary : go-insert-locale
3
+ goos :
4
+ - linux
5
+ - windows
6
+ - darwin
7
+ goarch :
8
+ - amd64
9
+ - arm64
10
+ env :
11
+ - CGO_ENABLED=0
12
+ ldflags :
13
+ - -s -w
14
+ - -X main.version={{.Version}}
15
+ - -X main.commit={{.Commit}}
16
+ - -X main.date={{.Date}}
17
+ - -X main.builtBy=goreleaser
18
+
19
+ release :
20
+ prerelease : auto
21
+ github :
22
+ owner : AlejandroSuero
23
+ name : go-insert-locale
24
+
25
+ universal_binaries :
26
+ - replace : true
27
+
28
+ brews :
29
+ -
30
+ name : go-insert-locale
31
+ homepage : " https://github.com/AlejandroSuero/go-insert-locale"
32
+ description : " Insert locale data into your locales directory"
33
+ license : " MIT"
34
+ repository :
35
+ owner : https://github.com/AlejandroSuero
36
+ name : go-insert-locale
37
+ commit_author :
38
+ name : Alejandro Suero
39
+
40
+
41
+ archives :
42
+ - format : tar.gz
43
+ format_overrides :
44
+ - goos : windows
45
+ format : zip
46
+ name_template : " {{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
47
+
48
+ checksum :
49
+ name_template : " checksums.txt"
50
+
51
+ changelog :
52
+ sort : asc
53
+ filters :
54
+ exclude :
55
+ - " ^docs:"
56
+ - " ^test:"
57
+ - " ^chore:"
Original file line number Diff line number Diff line change
1
+ {
2
+ "default" : true ,
3
+ "MD033" : false ,
4
+ "MD052" : false ,
5
+ "MD041" : false ,
6
+ "MD004" : {
7
+ "style" : " dash"
8
+ },
9
+ "MD046" : {
10
+ "style" : " fenced"
11
+ },
12
+ "MD030" : {
13
+ "ul_single" : 1 ,
14
+ "ol_single" : 1 ,
15
+ "ul_multi" : 1 ,
16
+ "ol_multi" : 1
17
+ }
18
+ }
Original file line number Diff line number Diff line change
1
+ rules :
2
+ document-end : disable
3
+ document-start :
4
+ level : warning
5
+ present : false
6
+ line-length :
7
+ level : warning
8
+ max : 200
9
+ allow-non-breakable-words : true
10
+ allow-non-breakable-inline-mappings : true
You can’t perform that action at this time.
0 commit comments