Skip to content

Commit ef64d3e

Browse files
ci: fix update workflow
This patch restores update workflow functionality. Closes TNTP-4298
1 parent 41ce7e8 commit ef64d3e

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

.cspell_project-words.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ccluster
1010
clientv3
1111
clustercmd
1212
commentf
13+
configcartridgecustom
14+
connpool
1315
containsf
1416
debugf
1517
demoter
@@ -61,6 +63,13 @@ tnt+
6163
tntp
6264
trimprefix
6365
truef
66+
unknowncentralized
67+
unknownnonetarantooletcd
68+
unknownnosinglemulti
69+
unknownoffmanualeventualelectionstatefulsupervised
70+
unknownoffvotercandidatemanual
71+
unknownreadrw
72+
unknownuninitializedbootstrapped
6473
vshard
6574
vylog
6675
warnf

.github/workflows/update.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
runs-on: ubuntu-22.04
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
submodules: recursive
22+
fetch-tags: true
1923

2024
- name: Setup Go
2125
uses: actions/setup-go@v4

.gitlint-precommit.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ regex-style-search = true
66
regex = ^build\(deps\):.*dependabot\[bot\]$
77
ignore = title-max-length,body-min-length
88

9+
[ignore-by-author-name]
10+
regex=^TarantoolBot(.*)
11+
ignore=all
12+
913
[title-min-length]
1014
min-length=12
1115

cli/replicaset/electionmode.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package replicaset
22

33
import "strings"
44

5+
// ElectionMode defines an enumeration of election types.
56
type ElectionMode int
67

78
//go:generate stringer -type=ElectionMode -trimprefix ElectionMode -linecomment
@@ -19,6 +20,7 @@ const (
1920
ElectionModeManual // manual
2021
)
2122

23+
// ParseElectionMode returns an election type from a string representation.
2224
func ParseElectionMode(str string) ElectionMode {
2325
switch strings.ToLower(str) {
2426
case "off":

lib/cluster/paths_generate.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ var ConfigEnvPaths = [][]string{
120120
]])
121121

122122
for _, config in ipairs(configs) do
123-
file:write('[]string{')
123+
file:write('{')
124124
for i, v in ipairs(config.path) do
125125
file:write('"' .. v .. '"')
126126
if i < #config.path then
@@ -136,7 +136,7 @@ var TarantoolSchema = []SchemaPath{
136136
]])
137137

138138
for _, config in ipairs(configs) do
139-
file:write('SchemaPath{\nPath: []string{')
139+
file:write('{\nPath: []string{')
140140
for i, v in ipairs(config.path) do
141141
file:write('"' .. v .. '"')
142142
if i < #config.path then

0 commit comments

Comments
 (0)