Skip to content

Commit 0bb6d09

Browse files
authored
Merge branch 'main' into fix-lfs-ssh
2 parents a0044d6 + 1bdb0b7 commit 0bb6d09

File tree

15 files changed

+59
-39
lines changed

15 files changed

+59
-39
lines changed

.github/workflows/cron-licenses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: github.repository == 'go-gitea/gitea'
1212
steps:
1313
- uses: actions/checkout@v5
14-
- uses: actions/setup-go@v5
14+
- uses: actions/setup-go@v6
1515
with:
1616
go-version-file: go.mod
1717
check-latest: true

.github/workflows/pull-compliance.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v5
20-
- uses: actions/setup-go@v5
20+
- uses: actions/setup-go@v6
2121
with:
2222
go-version-file: go.mod
2323
check-latest: true
@@ -72,7 +72,7 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- uses: actions/checkout@v5
75-
- uses: actions/setup-go@v5
75+
- uses: actions/setup-go@v6
7676
with:
7777
go-version-file: go.mod
7878
check-latest: true
@@ -84,7 +84,7 @@ jobs:
8484
runs-on: ubuntu-latest
8585
steps:
8686
- uses: actions/checkout@v5
87-
- uses: actions/setup-go@v5
87+
- uses: actions/setup-go@v6
8888
with:
8989
go-version-file: go.mod
9090
check-latest: true
@@ -101,7 +101,7 @@ jobs:
101101
runs-on: ubuntu-latest
102102
steps:
103103
- uses: actions/checkout@v5
104-
- uses: actions/setup-go@v5
104+
- uses: actions/setup-go@v6
105105
with:
106106
go-version-file: go.mod
107107
check-latest: true
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ubuntu-latest
117117
steps:
118118
- uses: actions/checkout@v5
119-
- uses: actions/setup-go@v5
119+
- uses: actions/setup-go@v6
120120
with:
121121
go-version-file: go.mod
122122
check-latest: true
@@ -145,7 +145,7 @@ jobs:
145145
runs-on: ubuntu-latest
146146
steps:
147147
- uses: actions/checkout@v5
148-
- uses: actions/setup-go@v5
148+
- uses: actions/setup-go@v6
149149
with:
150150
go-version-file: go.mod
151151
check-latest: true
@@ -190,7 +190,7 @@ jobs:
190190
runs-on: ubuntu-latest
191191
steps:
192192
- uses: actions/checkout@v5
193-
- uses: actions/setup-go@v5
193+
- uses: actions/setup-go@v6
194194
with:
195195
go-version-file: go.mod
196196
check-latest: true

.github/workflows/pull-db-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- "9000:9000"
4040
steps:
4141
- uses: actions/checkout@v5
42-
- uses: actions/setup-go@v5
42+
- uses: actions/setup-go@v6
4343
with:
4444
go-version-file: go.mod
4545
check-latest: true
@@ -67,7 +67,7 @@ jobs:
6767
runs-on: ubuntu-latest
6868
steps:
6969
- uses: actions/checkout@v5
70-
- uses: actions/setup-go@v5
70+
- uses: actions/setup-go@v6
7171
with:
7272
go-version-file: go.mod
7373
check-latest: true
@@ -125,7 +125,7 @@ jobs:
125125
- 10000:10000
126126
steps:
127127
- uses: actions/checkout@v5
128-
- uses: actions/setup-go@v5
128+
- uses: actions/setup-go@v6
129129
with:
130130
go-version-file: go.mod
131131
check-latest: true
@@ -178,7 +178,7 @@ jobs:
178178
- "993:993"
179179
steps:
180180
- uses: actions/checkout@v5
181-
- uses: actions/setup-go@v5
181+
- uses: actions/setup-go@v6
182182
with:
183183
go-version-file: go.mod
184184
check-latest: true
@@ -218,7 +218,7 @@ jobs:
218218
- 10000:10000
219219
steps:
220220
- uses: actions/checkout@v5
221-
- uses: actions/setup-go@v5
221+
- uses: actions/setup-go@v6
222222
with:
223223
go-version-file: go.mod
224224
check-latest: true

.github/workflows/pull-e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v5
22-
- uses: actions/setup-go@v5
22+
- uses: actions/setup-go@v6
2323
with:
2424
go-version-file: go.mod
2525
check-latest: true

.github/workflows/release-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
1717
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
1818
- run: git fetch --unshallow --quiet --tags --force
19-
- uses: actions/setup-go@v5
19+
- uses: actions/setup-go@v6
2020
with:
2121
go-version-file: go.mod
2222
check-latest: true
@@ -65,7 +65,7 @@ jobs:
6565
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
6666
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
6767
- run: git fetch --unshallow --quiet --tags --force
68-
- uses: actions/setup-go@v5
68+
- uses: actions/setup-go@v6
6969
with:
7070
go-version-file: go.mod
7171
check-latest: true
@@ -107,7 +107,7 @@ jobs:
107107
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
108108
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
109109
- run: git fetch --unshallow --quiet --tags --force
110-
- uses: actions/setup-go@v5
110+
- uses: actions/setup-go@v6
111111
with:
112112
go-version-file: go.mod
113113
check-latest: true

.github/workflows/release-tag-rc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
1818
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
1919
- run: git fetch --unshallow --quiet --tags --force
20-
- uses: actions/setup-go@v5
20+
- uses: actions/setup-go@v6
2121
with:
2222
go-version-file: go.mod
2323
check-latest: true

.github/workflows/release-tag-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
2222
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
2323
- run: git fetch --unshallow --quiet --tags --force
24-
- uses: actions/setup-go@v5
24+
- uses: actions/setup-go@v6
2525
with:
2626
go-version-file: go.mod
2727
check-latest: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module code.gitea.io/gitea
22

3-
go 1.25.1
3+
go 1.25.3
44

55
// rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
66
// But some CAs use negative serial number, just relax the check. related:

modules/git/url/url_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ func TestParseGitURLs(t *testing.T) {
3434
},
3535
},
3636
{
37-
kase: "git@[fe80:14fc:cec5:c174:d88%2510]:go-gitea/gitea.git",
37+
kase: "git@[fe80::14fc:cec5:c174:d88%2510]:go-gitea/gitea.git",
3838
expected: &GitURL{
3939
URL: &url.URL{
4040
Scheme: "ssh",
4141
User: url.User("git"),
42-
Host: "[fe80:14fc:cec5:c174:d88%10]",
42+
Host: "[fe80::14fc:cec5:c174:d88%10]",
4343
Path: "go-gitea/gitea.git",
4444
},
4545
extraMark: 1,
@@ -137,11 +137,11 @@ func TestParseGitURLs(t *testing.T) {
137137
},
138138
},
139139
{
140-
kase: "https://[fe80:14fc:cec5:c174:d88%2510]:20/go-gitea/gitea.git",
140+
kase: "https://[fe80::14fc:cec5:c174:d88%2510]:20/go-gitea/gitea.git",
141141
expected: &GitURL{
142142
URL: &url.URL{
143143
Scheme: "https",
144-
Host: "[fe80:14fc:cec5:c174:d88%10]:20",
144+
Host: "[fe80::14fc:cec5:c174:d88%10]:20",
145145
Path: "/go-gitea/gitea.git",
146146
},
147147
extraMark: 0,

routers/web/auth/oauth2_provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ func handleAuthorizationCode(ctx *context.Context, form forms.AccessTokenForm, s
636636
ErrorCode: oauth2_provider.AccessTokenErrorCodeInvalidRequest,
637637
ErrorDescription: "cannot proceed your request",
638638
})
639+
return
639640
}
640641
resp, tokenErr := oauth2_provider.NewAccessTokenResponse(ctx, authorizationCode.Grant, serverKey, clientKey)
641642
if tokenErr != nil {

0 commit comments

Comments
 (0)