Renovate Bot
3d667c1594
chore(deps): update docker.gitea.com/gitea docker tag to v1.26.2 ( #997 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [docker.gitea.com/gitea](https://github.com/go-gitea/gitea ) | service | patch | `1.26.1` → `1.26.2` |
---
### Release Notes
<details>
<summary>go-gitea/gitea (docker.gitea.com/gitea)</summary>
### [`v1.26.2`](https://github.com/go-gitea/gitea/blob/HEAD/CHANGELOG.md#1262---2026-05-20 )
[Compare Source](https://github.com/go-gitea/gitea/compare/v1.26.1...v1.26.2 )
- SECURITY
- fix(permissions): Fix reading permission ([#​37769](https://github.com/go-gitea/gitea/issues/37769 ))
- fix(actions): make artifact signature payloads unambiguous ([#​37707](https://github.com/go-gitea/gitea/issues/37707 ))
- fix: Unify public-only token filtering in API queries and repo access checks ([#​37118](https://github.com/go-gitea/gitea/issues/37118 ))
- fix: Add missed token scope checking ([#​37735](https://github.com/go-gitea/gitea/issues/37735 ))
- fix(oauth): bind token exchanges to the original client request ([#​37704](https://github.com/go-gitea/gitea/issues/37704 ))
- fix(oauth): strengthen PKCE validation and refresh token replay protection ([#​37706](https://github.com/go-gitea/gitea/issues/37706 ))
- fix(web): enforce token scopes on raw, media, and attachment downloads ([#​37698](https://github.com/go-gitea/gitea/issues/37698 ))
- fix(security): enforce wiki git writes and LFS token access at request time ([#​37695](https://github.com/go-gitea/gitea/issues/37695 ))
- feat(api): encrypt AWS creds ([#​37679](https://github.com/go-gitea/gitea/issues/37679 ))
- fix(deps): update dependency mermaid to v11.15.0 \[security], add e2e test
- fix(packages): Add label for private and internal package and fix composor package source permission check ([#​37610](https://github.com/go-gitea/gitea/issues/37610 ))
- fix(git): Fix smart http request scope bug ([#​37583](https://github.com/go-gitea/gitea/issues/37583 ))
- Fix basic auth bug ([#​37503](https://github.com/go-gitea/gitea/issues/37503 ))
- Fix allow maintainer edit permission check ([#​37479](https://github.com/go-gitea/gitea/issues/37479 )) ([#​37484](https://github.com/go-gitea/gitea/issues/37484 ))
- Fix URL sanitization to handle schemeless credentials ([#​37440](https://github.com/go-gitea/gitea/issues/37440 )) ([#​37471](https://github.com/go-gitea/gitea/issues/37471 ))
- Fix attachment Content-Security-Policy ([#​37455](https://github.com/go-gitea/gitea/issues/37455 )) ([#​37464](https://github.com/go-gitea/gitea/issues/37464 ))
- chore(deps): bump go-git/go-git/v5 to 5.19.0 ([#​37608](https://github.com/go-gitea/gitea/issues/37608 ))
- BUGFIXES
- fix(pull): handle empty pull request files view to allow reviews ([#​37783](https://github.com/go-gitea/gitea/issues/37783 ))
- fix(markup): make RenderString never fail ([#​37779](https://github.com/go-gitea/gitea/issues/37779 ))
- fix: add natural sort to sortTreeViewNodes ([#​37772](https://github.com/go-gitea/gitea/issues/37772 ))
- fix: package creation unique conflict ([#​37774](https://github.com/go-gitea/gitea/issues/37774 ))
- fix!: add DEFAULT\_TITLE\_SOURCE setting for pull request title default behavior ([#​37465](https://github.com/go-gitea/gitea/issues/37465 ))
- fix: Allow direct commits for unprotected files with push restrictions ([#​37657](https://github.com/go-gitea/gitea/issues/37657 ))
- fix(actions): wrong assumption that run id always >= job id ([#​37737](https://github.com/go-gitea/gitea/issues/37737 ))
- fix(auth): set User-Agent on avatar fetch and sync avatar on link-account register ([#​37564](https://github.com/go-gitea/gitea/issues/37564 )) ([#​37588](https://github.com/go-gitea/gitea/issues/37588 ))
- fix(actions): deadlock between PrepareRunAndInsert and UpdateTaskByState ([#​37692](https://github.com/go-gitea/gitea/issues/37692 ))
- fix(repo): /generate must sync the branch table for the new repo ([#​37693](https://github.com/go-gitea/gitea/issues/37693 ))
- build: Fix snap build (1.26)
- fix(actions): run TransferLogs on UpdateLog{Rows:\[], NoMore:true} ([#​37631](https://github.com/go-gitea/gitea/issues/37631 ))
- fix show correct mergebase
- fix: make clone URL respect public URL detection setting ([#​37615](https://github.com/go-gitea/gitea/issues/37615 ))
- fix: "run as root" check ([#​37622](https://github.com/go-gitea/gitea/issues/37622 ))
- chore(deps): update dependency go to v1.26.3 ([#​37601](https://github.com/go-gitea/gitea/issues/37601 ))
- Compare dropdown fails when selecting branch with no common merge-base ([#​37470](https://github.com/go-gitea/gitea/issues/37470 ))
- fix: treat email addresses case-insensitively ([#​37600](https://github.com/go-gitea/gitea/issues/37600 ))
- fix(actions): fix blank lines after ::endgroup:: ([#​37597](https://github.com/go-gitea/gitea/issues/37597 ))
- fix(actions): report individual step status in workflow job API response ([#​37592](https://github.com/go-gitea/gitea/issues/37592 ))
- fix: Invalid UTF-8 commit messages in JSON API responses ([#​37542](https://github.com/go-gitea/gitea/issues/37542 ))
- fix: use consistent GetUser family functions ([#​37553](https://github.com/go-gitea/gitea/issues/37553 ))
- fix(api): return 409 message instead of empty JSON for wrong commit id ([#​37572](https://github.com/go-gitea/gitea/issues/37572 ))
- fix(actions): prevent panic when workflow contains null jobs ([#​37570](https://github.com/go-gitea/gitea/issues/37570 ))
- Make ServeSetHeaders default to download attachment if filename exists ([#​37552](https://github.com/go-gitea/gitea/issues/37552 )) ([#​37555](https://github.com/go-gitea/gitea/issues/37555 ))
- Fix(actions): validate workflow param to prevent 500 error ([#​37546](https://github.com/go-gitea/gitea/issues/37546 )) ([#​37554](https://github.com/go-gitea/gitea/issues/37554 ))
- Don't unblock run-level-concurrency-blocked runs in the resolver ([#​37461](https://github.com/go-gitea/gitea/issues/37461 )) ([#​37538](https://github.com/go-gitea/gitea/issues/37538 ))
- Fix(packages): use file names for generic web downloads ([#​37514](https://github.com/go-gitea/gitea/issues/37514 )) ([#​37520](https://github.com/go-gitea/gitea/issues/37520 ))
- Fix merge autodetect can't close other PRs but only the last one when multiple PRs are pushed at once ([#​37512](https://github.com/go-gitea/gitea/issues/37512 )) ([#​37516](https://github.com/go-gitea/gitea/issues/37516 ))
- Fix update branch protection order ([#​37508](https://github.com/go-gitea/gitea/issues/37508 )) ([#​37513](https://github.com/go-gitea/gitea/issues/37513 ))
- Fix mCaptcha broken after Vite migration ([#​37492](https://github.com/go-gitea/gitea/issues/37492 )) ([#​37509](https://github.com/go-gitea/gitea/issues/37509 ))
- Fix review submission from single-commit PR view ([#​37475](https://github.com/go-gitea/gitea/issues/37475 )) ([#​37485](https://github.com/go-gitea/gitea/issues/37485 ))
- Fix scheduled action panic with null event payload ([#​37459](https://github.com/go-gitea/gitea/issues/37459 )) ([#​37466](https://github.com/go-gitea/gitea/issues/37466 ))
- Make GetPossibleUserByID can handle deleted user ([#​37430](https://github.com/go-gitea/gitea/issues/37430 )) ([#​37431](https://github.com/go-gitea/gitea/issues/37431 ))
- Remove excessive quote from terraform instructions ([#​37424](https://github.com/go-gitea/gitea/issues/37424 )) ([#​37426](https://github.com/go-gitea/gitea/issues/37426 ))
- Fix color regressions, add `priority` color ([#​37417](https://github.com/go-gitea/gitea/issues/37417 )) ([#​37421](https://github.com/go-gitea/gitea/issues/37421 ))
- MISC
- Add CurrentURL template variable back ([#​37444](https://github.com/go-gitea/gitea/issues/37444 )) ([#​37449](https://github.com/go-gitea/gitea/issues/37449 ))
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xODYuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE4Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://gitea.com/gitea/tea/pulls/997
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-05-21 01:27:33 +00:00
Lunny Xiao
83b718ac34
Move integration tests to tests/ directory ( #973 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/973
2026-05-02 04:18:45 +00:00
Renovate Bot
892905d482
chore(deps): update docker.gitea.com/gitea docker tag to v1.26.1 ( #968 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [docker.gitea.com/gitea](https://github.com/go-gitea/gitea ) | service | patch | `1.26.0` → `1.26.1` |
---
### Release Notes
<details>
<summary>go-gitea/gitea (docker.gitea.com/gitea)</summary>
### [`v1.26.1`](https://github.com/go-gitea/gitea/releases/tag/v1.26.1 )
[Compare Source](https://github.com/go-gitea/gitea/compare/v1.26.0...v1.26.1 )
- BUGFIXES \* Add event.schedule context for schedule actions task ([#​37320](https://github.com/go-gitea/gitea/issues/37320 )) ([#​37348](https://github.com/go-gitea/gitea/issues/37348 )) \* Fix an issue where changing an organization's visibility caused problems when users had forked its repositories. ([#​37324](https://github.com/go-gitea/gitea/issues/37324 )) ([#​37344](https://github.com/go-gitea/gitea/issues/37344 )) \* Use modern "git update-index --cacheinfo" syntax to support more file names ([#​37338](https://github.com/go-gitea/gitea/issues/37338 )) ([#​37343](https://github.com/go-gitea/gitea/issues/37343 )) \* Fix URL related escaping for oauth2 ([#​37334](https://github.com/go-gitea/gitea/issues/37334 )) ([#​37340](https://github.com/go-gitea/gitea/issues/37340 )) \* When the requested arch rpm is missing fall back to noarch ([#​37236](https://github.com/go-gitea/gitea/issues/37236 )) ([#​37339](https://github.com/go-gitea/gitea/issues/37339 )) \* Fix actions concurrency groups cross-branch leak ([#​37311](https://github.com/go-gitea/gitea/issues/37311 )) ([#​37331](https://github.com/go-gitea/gitea/issues/37331 )) \* Fix bug when accessing user badges ([#​37321](https://github.com/go-gitea/gitea/issues/37321 )) ([#​37329](https://github.com/go-gitea/gitea/issues/37329 )) \* Fix AppFullLink ([#​37325](https://github.com/go-gitea/gitea/issues/37325 )) ([#​37328](https://github.com/go-gitea/gitea/issues/37328 )) \* Fix container auth for public instance ([#​37290](https://github.com/go-gitea/gitea/issues/37290 )) ([#​37294](https://github.com/go-gitea/gitea/issues/37294 )) \* Enhance GetActionWorkflow to support fallback references ([#​37189](https://github.com/go-gitea/gitea/issues/37189 )) ([#​37283](https://github.com/go-gitea/gitea/issues/37283 )) \* Fix vite manifest update masking build errors ([#​37279](https://github.com/go-gitea/gitea/issues/37279 )) ([#​37310](https://github.com/go-gitea/gitea/issues/37310 )) \* Fix Mermaid diagrams failing when node labels contain line breaks ([#​37296](https://github.com/go-gitea/gitea/issues/37296 )) ([#​37299](https://github.com/go-gitea/gitea/issues/37299 )) \* Use TriggerEvent instead of Event in workflow runs API response for scheduled runs ([#​37288](https://github.com/go-gitea/gitea/issues/37288 )) [#​37360](https://github.com/go-gitea/gitea/issues/37360 ) \* Add URL to Learn more about blocking a user. ([#​37355](https://github.com/go-gitea/gitea/issues/37355 )) [#​37367](https://github.com/go-gitea/gitea/issues/37367 ) \* Fix button layout shift when collapsing file tree in editor ([#​37363](https://github.com/go-gitea/gitea/issues/37363 )) [#​37375](https://github.com/go-gitea/gitea/issues/37375 ) \* Fix org team assignee/reviewer lookups for team member permissions ([#​37365](https://github.com/go-gitea/gitea/issues/37365 )) [#​37391](https://github.com/go-gitea/gitea/issues/37391 ) \* Fix repo init README EOL ([#​37388](https://github.com/go-gitea/gitea/issues/37388 )) [#​37399](https://github.com/go-gitea/gitea/issues/37399 ) \* Fix: dump with default zip type produces uncompressed zip ([#​37401](https://github.com/go-gitea/gitea/issues/37401 ))[#​37402](https://github.com/go-gitea/gitea/issues/37402 )
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://gitea.com/gitea/tea/pulls/968
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-04-25 18:12:06 +00:00
Renovate Bot
3c1c9b2904
chore(deps): update docker.gitea.com/gitea docker tag to v1.26.0 ( #962 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/962
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-04-20 01:11:09 +00:00
Renovate Bot
21881525a8
chore(deps): update docker.gitea.com/gitea docker tag to v1.25.5 ( #934 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/934
Reviewed-by: techknowlogick <9+techknowlogick@noreply.gitea.com >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-03-15 23:04:40 +00:00
Renovate Bot
6414a5e00e
chore(deps): update docker.gitea.com/gitea docker tag to v1.25.4 ( #877 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/877
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2026-02-03 01:06:13 +00:00
techknowlogick
20da414145
Code Cleanup ( #869 )
...
- switch to golangci-lint for linting
- switch to gofmpt for formatting
- fix lint and fmt issues that came up from switch to new tools
- upgrade go-sdk to 0.23.2
- support pagination for listing tracked times
- remove `FixPullHeadSha` workaround (upstream fix has been merged for 5+ years at this point)
- standardize on US spelling (previously a mix of US&UK spelling)
- remove some unused code
- reduce some duplication in parsing state and issue type
- reduce some duplication in reading input for secrets and variables
- reduce some duplication with PR Review code
- report error for when yaml parsing fails
- various other misc cleanup
Reviewed-on: https://gitea.com/gitea/tea/pulls/869
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2026-02-02 22:39:26 +00:00
techknowlogick
45260e1a1f
bump action versions in CI for PRs
...
disable govulncheck temporarily
2026-02-02 19:50:25 +00:00
Lunny Xiao
cc20b52ab3
feat: add validation for object-format flag in repo create command ( #741 )
...
This PR adds validation for the `--object-format` flag in the `repo create` command. The flag now accepts only `sha1` or `sha256` as valid values, and returns an error for any other value.
Changes:
- Added validation in `runRepoCreate` to check for valid object format values
- Added unit tests to verify the validation logic
- Fixed the field name from `ObjectFormat` to `ObjectFormatName` to match the SDK
The changes ensure that users get clear error messages when using invalid object format values, improving the user experience.
Fix #727
Fix #660
Fix #767
Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/741
Reviewed-by: TheFox0x7 <thefox0x7@noreply.gitea.com >
2025-09-12 16:51:43 +00:00
Lunny Xiao
2fb291c6d4
update ci goproxy ( #703 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/703
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-12-26 22:53:03 +00:00
techknowlogick
5236a89d4c
Update .gitea/workflows/test-pr.yml
2024-04-08 16:45:15 +00:00
techknowlogick
48d2997a63
Update .gitea/workflows/test-pr.yml
2024-04-08 16:45:05 +00:00
Renovate Bot
76f7f901fc
chore(deps): update actions/setup-go action to v5 ( #624 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://github.com/actions/setup-go ) | action | major | `v4` -> `v5` |
---
### Release Notes
<details>
<summary>actions/setup-go (actions/setup-go)</summary>
### [`v5`](https://github.com/actions/setup-go/compare/v4...v5 )
[Compare Source](https://github.com/actions/setup-go/compare/v4...v5 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: https://gitea.com/gitea/tea/pulls/624
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2024-02-23 00:36:59 +00:00
Renovate Bot
2f1ca85b25
chore(deps): update actions/checkout action to v4 ( #588 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-09-25 03:39:40 +00:00
jolheiser
0869c15a6c
Initial CLI docs ( #565 )
...
As title, then we could potentially start ingesting these in the docs repo as they are expanded.
Reviewed-on: https://gitea.com/gitea/tea/pulls/565
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: jolheiser <john.olheiser@gmail.com >
Co-committed-by: jolheiser <john.olheiser@gmail.com >
2023-09-01 15:34:13 +00:00
techknowlogick
b705188599
Switch CI to Actions and use Goreleaser ( #536 )
...
Reviewed-on: https://gitea.com/gitea/tea/pulls/536
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io >
2023-03-30 10:24:03 +08:00