This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gitea/gitea](https://github.com/go-gitea/gitea) | minor | `1.24.7` -> `1.25.0` | --- ### Release Notes <details> <summary>go-gitea/gitea (gitea/gitea)</summary> ### [`v1.25.0`](https://github.com/go-gitea/gitea/releases/tag/v1.25.0) [Compare Source](https://github.com/go-gitea/gitea/compare/v1.24.7...v1.25.0) - BREAKING - Return 201 Created for CreateVariable API responses ([#​34517](https://github.com/go-gitea/gitea/issues/34517)) - Add label 'state' to metric 'gitea\_users' ([#​34326](https://github.com/go-gitea/gitea/issues/34326)) - SECURITY - Upgrade security public key ([#​34956](https://github.com/go-gitea/gitea/issues/34956)) - Also include all security fixes in 1.24.x after 1.25.0-rc0 - FEATURES - Stream repo zip/tar.gz/bundle achives by default ([#​35487](https://github.com/go-gitea/gitea/issues/35487)) - Use configurable remote name for git commands ([#​35172](https://github.com/go-gitea/gitea/issues/35172)) - Send email on Workflow Run Success/Failure ([#​34982](https://github.com/go-gitea/gitea/issues/34982)) - Refactor OpenIDConnect to support SSH/FullName sync ([#​34978](https://github.com/go-gitea/gitea/issues/34978)) - Refactor repo contents API and add "contents-ext" API ([#​34822](https://github.com/go-gitea/gitea/issues/34822)) - Add support for 3D/CAD file formats preview ([#​34794](https://github.com/go-gitea/gitea/issues/34794)) - Improve instance wide ssh commit signing ([#​34341](https://github.com/go-gitea/gitea/issues/34341)) - Edit file workflow for creating a fork and proposing changes ([#​34240](https://github.com/go-gitea/gitea/issues/34240)) - Follow file symlinks in the UI to their target ([#​28835](https://github.com/go-gitea/gitea/issues/28835)) - Allow renaming/moving binary/LFS files in the UI ([#​34350](https://github.com/go-gitea/gitea/issues/34350)) - PERFORMANCE - Improve the performance when detecting the file editable ([#​34653](https://github.com/go-gitea/gitea/issues/34653)) - ENHANCEMENTS - Enable more markdown paste features in textarea editor ([#​35494](https://github.com/go-gitea/gitea/issues/35494)) - Don't store repo archives on `gitea dump` ([#​35467](https://github.com/go-gitea/gitea/issues/35467)) - Always return the relevant status information, even if no status exists. ([#​35335](https://github.com/go-gitea/gitea/issues/35335)) - Add start time on perf trace because it seems some steps haven't been recorded. ([#​35282](https://github.com/go-gitea/gitea/issues/35282)) - Remove deprecated auth sources ([#​35272](https://github.com/go-gitea/gitea/issues/35272)) - When sorting issues by nearest due date, issues without due date should be sorted ascending ([#​35267](https://github.com/go-gitea/gitea/issues/35267)) - Disable field count validation of CSV viewer ([#​35228](https://github.com/go-gitea/gitea/issues/35228)) - Add `has_code` to repository REST API ([#​35214](https://github.com/go-gitea/gitea/issues/35214)) - Display pull request in merged commit view ([#​35202](https://github.com/go-gitea/gitea/issues/35202)) - Support Basic Authentication for archive downloads ([#​35087](https://github.com/go-gitea/gitea/issues/35087)) - Add hover background to table rows in user and repo admin page ([#​35072](https://github.com/go-gitea/gitea/issues/35072)) - Partially refresh notifications list ([#​35010](https://github.com/go-gitea/gitea/issues/35010)) - Also display "recently pushed branch" alert on PR view ([#​35001](https://github.com/go-gitea/gitea/issues/35001)) - Refactor time tracker UI ([#​34983](https://github.com/go-gitea/gitea/issues/34983)) - Improve CLI commands ([#​34973](https://github.com/go-gitea/gitea/issues/34973)) - Improve project & label color picker and image scroll ([#​34971](https://github.com/go-gitea/gitea/issues/34971)) - Improve NuGet API Parity ([#​21291](https://github.com/go-gitea/gitea/issues/21291)) ([#​34940](https://github.com/go-gitea/gitea/issues/34940)) - Support getting last commit message using contents-ext API ([#​34904](https://github.com/go-gitea/gitea/issues/34904)) - Adds title on branch commit counts ([#​34869](https://github.com/go-gitea/gitea/issues/34869)) - Add "Cancel workflow run" button to Actions list page ([#​34817](https://github.com/go-gitea/gitea/issues/34817)) - Improve img lazy loading ([#​34804](https://github.com/go-gitea/gitea/issues/34804)) - Forks repository list page follow other repositories page ([#​34784](https://github.com/go-gitea/gitea/issues/34784)) - Add ff\_only parameter to POST /repos/{owner}/{repo}/merge-upstream ([#​34770](https://github.com/go-gitea/gitea/issues/34770)) - Rework delete org and rename org UI ([#​34762](https://github.com/go-gitea/gitea/issues/34762)) - Improve nuget/rubygems package registries ([#​34741](https://github.com/go-gitea/gitea/issues/34741)) - Add repo file tree item link behavior ([#​34730](https://github.com/go-gitea/gitea/issues/34730)) - Add issue delete notifier ([#​34592](https://github.com/go-gitea/gitea/issues/34592)) - Improve Actions list ([#​34530](https://github.com/go-gitea/gitea/issues/34530)) - Add a default tab on repo header when migrating ([#​34503](https://github.com/go-gitea/gitea/issues/34503)) - Add post-installation redirect based on admin account status ([#​34493](https://github.com/go-gitea/gitea/issues/34493)) - Trigger 'unlabeled' event when label is Deleted from PR ([#​34316](https://github.com/go-gitea/gitea/issues/34316)) - Support annotated tags when using create release API ([#​31840](https://github.com/go-gitea/gitea/issues/31840)) - Use lfs label for lfs file rather than a long description ([#​34363](https://github.com/go-gitea/gitea/issues/34363)) - Add "View workflow file" to Actions list page ([#​34538](https://github.com/go-gitea/gitea/issues/34538)) - Move organization's visibility change to danger zone. ([#​34814](https://github.com/go-gitea/gitea/issues/34814)) - Don't block site admin's operation if SECRET\_KEY is lost ([#​35721](https://github.com/go-gitea/gitea/issues/35721)) - Make restricted users can access public repositories ([#​35693](https://github.com/go-gitea/gitea/issues/35693)) - The status icon of the Action step is consistent with GitHub ([#​35618](https://github.com/go-gitea/gitea/issues/35618)) [#​35621](https://github.com/go-gitea/gitea/issues/35621) - BUGFIXES - Update tab title when navigating file tree ([#​35757](https://github.com/go-gitea/gitea/issues/35757)) [#​35772](https://github.com/go-gitea/gitea/issues/35772) - Fix "ref-issue" handling in markup ([#​35739](https://github.com/go-gitea/gitea/issues/35739)) [#​35771](https://github.com/go-gitea/gitea/issues/35771) - Fix webhook to prevent tag events from bypassing branch filters targets ([#​35567](https://github.com/go-gitea/gitea/issues/35567)) [#​35577](https://github.com/go-gitea/gitea/issues/35577) - Fix markup init after issue comment editing ([#​35536](https://github.com/go-gitea/gitea/issues/35536)) [#​35537](https://github.com/go-gitea/gitea/issues/35537) - Fix creating pull request failure when the target branch name is the same as some tag ([#​35552](https://github.com/go-gitea/gitea/issues/35552)) [#​35582](https://github.com/go-gitea/gitea/issues/35582) - Fix auto-expand and auto-scroll for actions logs ([#​35570](https://github.com/go-gitea/gitea/issues/35570)) ([#​35583](https://github.com/go-gitea/gitea/issues/35583)) [#​35586](https://github.com/go-gitea/gitea/issues/35586) - Use inputs context when parsing workflows ([#​35590](https://github.com/go-gitea/gitea/issues/35590)) [#​35595](https://github.com/go-gitea/gitea/issues/35595) - Fix diffpatch API endpoint ([#​35610](https://github.com/go-gitea/gitea/issues/35610)) [#​35613](https://github.com/go-gitea/gitea/issues/35613) - Creating push comments before invoke pull request checking ([#​35647](https://github.com/go-gitea/gitea/issues/35647)) [#​35668](https://github.com/go-gitea/gitea/issues/35668) - Fix missing Close when error occurs and abused connection pool ([#​35658](https://github.com/go-gitea/gitea/issues/35658)) [#​35670](https://github.com/go-gitea/gitea/issues/35670) - Fix build ([#​35674](https://github.com/go-gitea/gitea/issues/35674)) - Use LFS object size instead of blob size when viewing a LFS file ([#​35679](https://github.com/go-gitea/gitea/issues/35679)) - Fix workflow run event status while rerunning a failed job ([#​35689](https://github.com/go-gitea/gitea/issues/35689)) - Avoid emoji mismatch and allow to only enable chosen emojis ([#​35692](https://github.com/go-gitea/gitea/issues/35692)) - Refactor legacy code, fix LFS auth bypass, fix symlink bypass ([#​35708](https://github.com/go-gitea/gitea/issues/35708)) - Fix various trivial problems ([#​35714](https://github.com/go-gitea/gitea/issues/35714)) - Fix attachment file size limit in server backend ([#​35519](https://github.com/go-gitea/gitea/issues/35519)) - Honor delete branch on merge repo setting when using merge API ([#​35488](https://github.com/go-gitea/gitea/issues/35488)) - Fix external render, make iframe render work ([#​35727](https://github.com/go-gitea/gitea/issues/35727), [#​35730](https://github.com/go-gitea/gitea/issues/35730)) - Upgrade go mail to 0.7.2 ([#​35748](https://github.com/go-gitea/gitea/issues/35748)) - Revert [#​18491](https://github.com/go-gitea/gitea/issues/18491), fix oauth2 client link account ([#​35745](https://github.com/go-gitea/gitea/issues/35745)) - Fix different behavior in status check pattern matching with double stars ([#​35474](https://github.com/go-gitea/gitea/issues/35474)) - Fix overflow in notifications list ([#​35446](https://github.com/go-gitea/gitea/issues/35446)) - Fix package link setting can only list limited repositories ([#​35394](https://github.com/go-gitea/gitea/issues/35394)) - Extend comment treepath length ([#​35389](https://github.com/go-gitea/gitea/issues/35389)) - Fix font-size in inline code comment preview ([#​35209](https://github.com/go-gitea/gitea/issues/35209)) - Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file ([#​35151](https://github.com/go-gitea/gitea/issues/35151)) - Change some columns from text to longtext and fix column wrong type caused by xorm ([#​35141](https://github.com/go-gitea/gitea/issues/35141)) - Redirect to a presigned URL of HEAD for HEAD requests ([#​35088](https://github.com/go-gitea/gitea/issues/35088)) - Fix git commit committer parsing and add some tests ([#​35007](https://github.com/go-gitea/gitea/issues/35007)) - Fix OCI manifest parser ([#​34797](https://github.com/go-gitea/gitea/issues/34797)) - Refactor FindOrgOptions to use enum instead of bool, fix membership visibility ([#​34629](https://github.com/go-gitea/gitea/issues/34629)) - Fix notification count positioning for variable-width elements ([#​34597](https://github.com/go-gitea/gitea/issues/34597)) - Keeping consistent between UI and API about combined commit status state and fix some bugs ([#​34562](https://github.com/go-gitea/gitea/issues/34562)) - Fix possible panic ([#​34508](https://github.com/go-gitea/gitea/issues/34508)) - Fix autofocus behavior ([#​34397](https://github.com/go-gitea/gitea/issues/34397)) - Fix Actions API ([#​35204](https://github.com/go-gitea/gitea/issues/35204)) - Fix ListWorkflowRuns OpenAPI response model. ([#​35026](https://github.com/go-gitea/gitea/issues/35026)) - Small fix in Pull Requests page ([#​34612](https://github.com/go-gitea/gitea/issues/34612)) - Fix http auth header parsing ([#​34936](https://github.com/go-gitea/gitea/issues/34936)) - Fix modal + form abuse ([#​34921](https://github.com/go-gitea/gitea/issues/34921)) - Fix PR toggle WIP ([#​34920](https://github.com/go-gitea/gitea/issues/34920)) - Fix log fmt ([#​34810](https://github.com/go-gitea/gitea/issues/34810)) - Replace stopwatch toggle with explicit start/stop actions ([#​34818](https://github.com/go-gitea/gitea/issues/34818)) - Fix some package registry problems ([#​34759](https://github.com/go-gitea/gitea/issues/34759)) - Fix RPM package download routing & missing package version count ([#​34909](https://github.com/go-gitea/gitea/issues/34909)) - Fix repo search input height ([#​34330](https://github.com/go-gitea/gitea/issues/34330)) - Fix "The sidebar of the repository file list does not have a fixed height [#​34298](https://github.com/go-gitea/gitea/issues/34298)" ([#​34321](https://github.com/go-gitea/gitea/issues/34321)) - Fix minor typos in two files #HSFDPMUW ([#​34944](https://github.com/go-gitea/gitea/issues/34944)) - Fix actions skipped commit status indicator ([#​34507](https://github.com/go-gitea/gitea/issues/34507)) - Fix job status aggregation logic ([#​35000](https://github.com/go-gitea/gitea/issues/35000)) - Fix broken OneDev migration caused by various REST API changes in OneDev 7.8.0 and later ([#​35216](https://github.com/go-gitea/gitea/issues/35216)) - Fix typo in oauth2\_full\_name\_claim\_name string ([#​35199](https://github.com/go-gitea/gitea/issues/35199)) - Fix typo in locale\_en-US.ini ([#​35196](https://github.com/go-gitea/gitea/issues/35196)) - API - Exposing TimeEstimate field in the API ([#​35475](https://github.com/go-gitea/gitea/issues/35475)) - UpdateBranch API supports renaming a branch ([#​35374](https://github.com/go-gitea/gitea/issues/35374)) - Add `owner` and `parent` fields clarification to docs ([#​35023](https://github.com/go-gitea/gitea/issues/35023)) - Improve OAuth2 provider (correct Issuer, respect ENABLED) ([#​34966](https://github.com/go-gitea/gitea/issues/34966)) - Add a `login`/`login-name`/`username` disambiguation to affected endpoint parameters and response/request models ([#​34901](https://github.com/go-gitea/gitea/issues/34901)) - Do not mutate incoming options to SearchRepositoryByName ([#​34553](https://github.com/go-gitea/gitea/issues/34553)) - Do not mutate incoming options to RenderUserSearch and SearchUsers ([#​34544](https://github.com/go-gitea/gitea/issues/34544)) - Export repo's manual merge settings ([#​34502](https://github.com/go-gitea/gitea/issues/34502)) - Add date range filtering to commit retrieval endpoints ([#​34497](https://github.com/go-gitea/gitea/issues/34497)) - Add endpoint deleting workflow run ([#​34337](https://github.com/go-gitea/gitea/issues/34337)) - Add workflow\_run api + webhook ([#​33964](https://github.com/go-gitea/gitea/issues/33964)) - REFACTOR - Move updateref and removeref to gitrepo and remove unnecessary open repository ([#​35511](https://github.com/go-gitea/gitea/issues/35511)) - Remove unused param `doer` ([#​34545](https://github.com/go-gitea/gitea/issues/34545)) - Split GetLatestCommitStatus as two functions ([#​34535](https://github.com/go-gitea/gitea/issues/34535)) - Use gitrepo.SetDefaultBranch when set default branch of wiki repository ([#​33911](https://github.com/go-gitea/gitea/issues/33911)) - Refactor editor ([#​34780](https://github.com/go-gitea/gitea/issues/34780)) - Refactor packages ([#​34777](https://github.com/go-gitea/gitea/issues/34777)) - Refactor container package ([#​34877](https://github.com/go-gitea/gitea/issues/34877)) - Refactor "change file" API ([#​34855](https://github.com/go-gitea/gitea/issues/34855)) - Rename pull request GetGitRefName to GetGitHeadRefName to prepare introducing GetGitMergeRefName ([#​35093](https://github.com/go-gitea/gitea/issues/35093)) - Move git command to git/gitcmd ([#​35483](https://github.com/go-gitea/gitea/issues/35483)) - Use db.WithTx/WithTx2 instead of TxContext when possible ([#​35428](https://github.com/go-gitea/gitea/issues/35428)) - Support Node.js 22.6 with type stripping ([#​35427](https://github.com/go-gitea/gitea/issues/35427)) - Migrate tools and configs to typescript, require node.js >= 22.18.0 ([#​35421](https://github.com/go-gitea/gitea/issues/35421)) - Check user and repo for redirects when using git via SSH transport ([#​35416](https://github.com/go-gitea/gitea/issues/35416)) - Remove the duplicated function GetTags ([#​35375](https://github.com/go-gitea/gitea/issues/35375)) - Refactor to use reflect.TypeFor ([#​35370](https://github.com/go-gitea/gitea/issues/35370)) - Deleting branch could delete broken branch which has database record but git branch is missing ([#​35360](https://github.com/go-gitea/gitea/issues/35360)) - Exit with success when already up to date ([#​35312](https://github.com/go-gitea/gitea/issues/35312)) - Split admin config settings templates to make it maintain easier ([#​35294](https://github.com/go-gitea/gitea/issues/35294)) - A small refactor to use context in the service layer ([#​35179](https://github.com/go-gitea/gitea/issues/35179)) - Refactor and update mail templates ([#​35150](https://github.com/go-gitea/gitea/issues/35150)) - Use db.WithTx/WithTx2 instead of TxContext when possible ([#​35130](https://github.com/go-gitea/gitea/issues/35130)) - Align `issue-title-buttons` with `list-header` ([#​35018](https://github.com/go-gitea/gitea/issues/35018)) - Add Notifications section in User Settings ([#​35008](https://github.com/go-gitea/gitea/issues/35008)) - Tweak placement of diff file menu ([#​34999](https://github.com/go-gitea/gitea/issues/34999)) - Refactor mail template and support preview ([#​34990](https://github.com/go-gitea/gitea/issues/34990)) - Rerun job only when run is done ([#​34970](https://github.com/go-gitea/gitea/issues/34970)) - Merge index.js ([#​34963](https://github.com/go-gitea/gitea/issues/34963)) - Refactor "delete-button" to "link-action" ([#​34962](https://github.com/go-gitea/gitea/issues/34962)) - Refactor webhook and fix feishu/lark secret ([#​34961](https://github.com/go-gitea/gitea/issues/34961)) - Exclude devtest.ts from tailwindcss ([#​34935](https://github.com/go-gitea/gitea/issues/34935)) - Refactor head navbar icons ([#​34922](https://github.com/go-gitea/gitea/issues/34922)) - Improve html escape ([#​34911](https://github.com/go-gitea/gitea/issues/34911)) - Improve tags list page ([#​34898](https://github.com/go-gitea/gitea/issues/34898)) - Improve `labels-list` rendering ([#​34846](https://github.com/go-gitea/gitea/issues/34846)) - Remove unused variable HUGO\_VERSION ([#​34840](https://github.com/go-gitea/gitea/issues/34840)) - Correct migration tab name ([#​34826](https://github.com/go-gitea/gitea/issues/34826)) - Refactor template helper ([#​34819](https://github.com/go-gitea/gitea/issues/34819)) - Use `shallowRef` instead of `ref` in `.vue` files where possible ([#​34813](https://github.com/go-gitea/gitea/issues/34813)) - Use standalone function to update repository cols ([#​34811](https://github.com/go-gitea/gitea/issues/34811)) - Refactor wiki ([#​34805](https://github.com/go-gitea/gitea/issues/34805)) - Remove unnecessary duplicate code ([#​34733](https://github.com/go-gitea/gitea/issues/34733)) - Refactor embedded assets and drop unnecessary dependencies ([#​34692](https://github.com/go-gitea/gitea/issues/34692)) - Update x/crypto package and make builtin SSH use default parameters ([#​34667](https://github.com/go-gitea/gitea/issues/34667)) - Add `--color-logo`, matching the logo's primary color ([#​34639](https://github.com/go-gitea/gitea/issues/34639)) - Add openssh-keygen to rootless image ([#​34625](https://github.com/go-gitea/gitea/issues/34625)) - Replace update repository function in some places ([#​34566](https://github.com/go-gitea/gitea/issues/34566)) - Change "rejected" to "changes requested" in 3rd party PR review notification ([#​34481](https://github.com/go-gitea/gitea/issues/34481)) - Remove legacy template helper functions ([#​34426](https://github.com/go-gitea/gitea/issues/34426)) - Use run-name and evaluate workflow variables ([#​34301](https://github.com/go-gitea/gitea/issues/34301)) - Move HasWiki to repository service package ([#​33912](https://github.com/go-gitea/gitea/issues/33912)) - Move some functions from package git to gitrepo ([#​33910](https://github.com/go-gitea/gitea/issues/33910)) - TESTING - Add webhook test for push event ([#​34442](https://github.com/go-gitea/gitea/issues/34442)) - Add a webhook push test for dev branch ([#​34421](https://github.com/go-gitea/gitea/issues/34421)) - Add migrations tests ([#​34456](https://github.com/go-gitea/gitea/issues/34456)) ([#​34498](https://github.com/go-gitea/gitea/issues/34498)) - STYLE - Enforce explanation for necessary nolints and fix bugs ([#​34883](https://github.com/go-gitea/gitea/issues/34883)) - Fix remaining issues after `gopls modernize` formatting ([#​34771](https://github.com/go-gitea/gitea/issues/34771)) - Update gofumpt, add go.mod ignore directive ([#​35434](https://github.com/go-gitea/gitea/issues/35434)) - Enforce nolint scope ([#​34851](https://github.com/go-gitea/gitea/issues/34851)) - Enable gocritic `equalFold` and fix issues ([#​34952](https://github.com/go-gitea/gitea/issues/34952)) - Run `gopls modernize` on codebase ([#​34751](https://github.com/go-gitea/gitea/issues/34751)) - Upgrade `gopls` to v0.19.0, add `make fix` ([#​34772](https://github.com/go-gitea/gitea/issues/34772)) - BUILD - bump archives\&rar dep ([#​35637](https://github.com/go-gitea/gitea/issues/35637)) [#​35638](https://github.com/go-gitea/gitea/issues/35638) - Use github.com/mholt/archives replace github.com/mholt/archiver ([#​35390](https://github.com/go-gitea/gitea/issues/35390)) - Update JS and PY dependencies ([#​35444](https://github.com/go-gitea/gitea/issues/35444)) - Upgrade devcontainer go version to 1.24.6 ([#​35298](https://github.com/go-gitea/gitea/issues/35298)) - Upgrade golang to 1.25.1 and add descriptions for the swagger structs' fields ([#​35418](https://github.com/go-gitea/gitea/issues/35418)) - Update JS and PY deps ([#​35191](https://github.com/go-gitea/gitea/issues/35191)) - Update JS and PY dependencies ([#​34391](https://github.com/go-gitea/gitea/issues/34391)) - Update go tool dependencies ([#​34845](https://github.com/go-gitea/gitea/issues/34845)) - Update `uint8-to-base64`, remove type stub ([#​34844](https://github.com/go-gitea/gitea/issues/34844)) - Switch to `@resvg/resvg-wasm` for `generate-images` ([#​35415](https://github.com/go-gitea/gitea/issues/35415)) - Switch to pnpm ([#​35274](https://github.com/go-gitea/gitea/issues/35274)) - Update chroma to v2.20.0 ([#​35220](https://github.com/go-gitea/gitea/issues/35220)) - Migrate to urfave v3 ([#​34510](https://github.com/go-gitea/gitea/issues/34510)) - Update JS deps, regenerate SVGs ([#​34640](https://github.com/go-gitea/gitea/issues/34640)) - Upgrade dependencies ([#​35384](https://github.com/go-gitea/gitea/issues/35384)) - Bump `@github/relative-time-element` to v4.4.8 ([#​34413](https://github.com/go-gitea/gitea/issues/34413)) - Update JS dependencies ([#​34951](https://github.com/go-gitea/gitea/issues/34951)) - Upgrade orgmode to v1.8.0 ([#​34721](https://github.com/go-gitea/gitea/issues/34721)) - Raise minimum Node.js version to 20, test on 24 ([#​34713](https://github.com/go-gitea/gitea/issues/34713)) - Update JS deps ([#​34701](https://github.com/go-gitea/gitea/issues/34701)) - Upgrade htmx to 2.0.6 ([#​34887](https://github.com/go-gitea/gitea/issues/34887)) - Update eslint to v9 ([#​35485](https://github.com/go-gitea/gitea/issues/35485)) - Update js dependencies ([#​35429](https://github.com/go-gitea/gitea/issues/35429)) - Clean up npm dependencies ([#​35508](https://github.com/go-gitea/gitea/issues/35508)) - Clean up npm dependencies ([#​35484](https://github.com/go-gitea/gitea/issues/35484)) - Bump setup-node to v5 ([#​35448](https://github.com/go-gitea/gitea/issues/35448)) - MISC - Add gitignore rules to exclude LLM instruction files ([#​35076](https://github.com/go-gitea/gitea/issues/35076)) - Gitignore: Visual Studio settings folder ([#​34375](https://github.com/go-gitea/gitea/issues/34375)) - Improve language in en-US locale strings ([#​35124](https://github.com/go-gitea/gitea/issues/35124)) - Fixed all grammatical errors in locale\_en-US.ini ([#​35053](https://github.com/go-gitea/gitea/issues/35053)) - Docs/fix typo and grammar in CONTRIBUTING.md ([#​35024](https://github.com/go-gitea/gitea/issues/35024)) - Improve english grammar and readability in locale\_en-US.ini ([#​35017](https://github.com/go-gitea/gitea/issues/35017)) Instances on **[Gitea Cloud](https://cloud.gitea.com)** will be automatically upgraded to this version during the specified maintenance window. </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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTUuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1NS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbWFnZSJdfQ==--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1903 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
		
			
				
	
	
		
			379 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			379 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
gitea:
 | 
						|
  global:
 | 
						|
    imageRegistry: registry.hub.docker.com
 | 
						|
  replicaCount: 3
 | 
						|
  image:
 | 
						|
    repository: gitea/gitea
 | 
						|
    tag: 1.25.0
 | 
						|
  service:
 | 
						|
    http:
 | 
						|
      type: ClusterIP
 | 
						|
      port: 3000
 | 
						|
      clusterIP: 10.103.160.139
 | 
						|
    ssh:
 | 
						|
      type: ClusterIP
 | 
						|
      port: 22
 | 
						|
      clusterIP: 10.103.160.140
 | 
						|
  ingress:
 | 
						|
    enabled: false
 | 
						|
  persistence:
 | 
						|
    storageClass: ceph-filesystem
 | 
						|
    size: 40Gi
 | 
						|
    accessModes:
 | 
						|
      - ReadWriteMany
 | 
						|
  extraVolumes:
 | 
						|
    - name: gitea-nfs-storage-backup
 | 
						|
      persistentVolumeClaim:
 | 
						|
        claimName: gitea-nfs-storage-backup
 | 
						|
    - name: gitea-themes-storage
 | 
						|
      persistentVolumeClaim:
 | 
						|
        claimName: gitea-themes-storage
 | 
						|
  extraInitVolumeMounts:
 | 
						|
    - name: gitea-themes-storage
 | 
						|
      readOnly: false
 | 
						|
      mountPath: /data/gitea/public/assets/css
 | 
						|
  extraContainerVolumeMounts:
 | 
						|
    - mountPath: /opt/backup
 | 
						|
      name: gitea-nfs-storage-backup
 | 
						|
      readOnly: false
 | 
						|
    - name: gitea-themes-storage
 | 
						|
      readOnly: true
 | 
						|
      mountPath: /data/gitea/public/assets/css
 | 
						|
  initPreScript: |
 | 
						|
    wget https://github.com/catppuccin/gitea/releases/latest/download/catppuccin-gitea.tar.gz;
 | 
						|
    tar -xvzf catppuccin-gitea.tar.gz -C /data/gitea/public/assets/css;
 | 
						|
    rm catppuccin-gitea.tar.gz;
 | 
						|
  gitea:
 | 
						|
    metrics:
 | 
						|
      enabled: true
 | 
						|
      serviceMonitor:
 | 
						|
        enabled: false
 | 
						|
    oauth:
 | 
						|
      - name: Authentik
 | 
						|
        provider: openidConnect
 | 
						|
        existingSecret: gitea-oidc-secret
 | 
						|
        autoDiscoverUrl: https://auth.alexlebens.dev/application/o/gitea/.well-known/openid-configuration
 | 
						|
        iconUrl: https://goauthentik.io/img/icon.png
 | 
						|
        scopes: "email profile"
 | 
						|
    config:
 | 
						|
      APP_NAME: Gitea
 | 
						|
      server:
 | 
						|
        PROTOCOL: http
 | 
						|
        DOMAIN: gitea.alexlebens.dev
 | 
						|
        ROOT_URL: https://gitea.alexlebens.dev
 | 
						|
        LOCAL_ROOT_URL: http://gitea-http.gitea.svc.cluster.local:3000
 | 
						|
        START_SSH_SERVER: true
 | 
						|
        SSH_DOMAIN: gitea.alexlebens.net
 | 
						|
        SSH_PORT: 22
 | 
						|
        SSH_LISTEN_PORT: 22
 | 
						|
        ENABLE_PPROF: true
 | 
						|
        LANDING_PAGE: explore
 | 
						|
      database:
 | 
						|
        DB_TYPE: postgres
 | 
						|
        SCHEMA: public
 | 
						|
      oauth2_client:
 | 
						|
        ENABLE_AUTO_REGISTRATION: true
 | 
						|
      cache:
 | 
						|
        ENABLED: true
 | 
						|
        ADAPTER: redis
 | 
						|
        HOST: redis://redis-replication-gitea-master.gitea:6379
 | 
						|
      queue:
 | 
						|
        TYPE: redis
 | 
						|
        CONN_STR: redis://redis-replication-gitea-master.gitea:6379
 | 
						|
      session:
 | 
						|
        PROVIDER: redis
 | 
						|
        PROVIDER_CONFIG: redis://redis-replication-gitea-master.gitea:6379
 | 
						|
      indexer:
 | 
						|
        ISSUE_INDEXER_ENABLED: true
 | 
						|
        ISSUE_INDEXER_TYPE: meilisearch
 | 
						|
        REPO_INDEXER_ENABLED: false
 | 
						|
      actions:
 | 
						|
        ENABLED: true
 | 
						|
      service:
 | 
						|
        REGISTER_MANUAL_CONFIRM: true
 | 
						|
        SHOW_REGISTRATION_BUTTON: false
 | 
						|
        ALLOW_ONLY_EXTERNAL_REGISTRATION: true
 | 
						|
      explore:
 | 
						|
        REQUIRE_SIGNIN_VIEW: true
 | 
						|
      webhook:
 | 
						|
        ALLOWED_HOST_LIST: private
 | 
						|
      ui:
 | 
						|
        DEFAULT_THEME: gitea-auto
 | 
						|
        THEMES: gitea-light,gitea-dark,gitea-auto,catppuccin-rosewater-auto,catppuccin-flamingo-auto,catppuccin-pink-auto,catppuccin-mauve-auto,catppuccin-red-auto,catppuccin-maroon-auto,catppuccin-peach-auto,catppuccin-yellow-auto,catppuccin-green-auto,catppuccin-teal-auto,catppuccin-sky-auto,catppuccin-sapphire-auto,catppuccin-blue-auto,catppuccin-lavender-auto,catppuccin-latte-rosewater,catppuccin-latte-flamingo,catppuccin-latte-pink,catppuccin-latte-mauve,catppuccin-latte-red,catppuccin-latte-maroon,catppuccin-latte-peach,catppuccin-latte-yellow,catppuccin-latte-green,catppuccin-latte-teal,catppuccin-latte-sky,catppuccin-latte-sapphire,catppuccin-latte-blue,catppuccin-latte-lavender,catppuccin-frappe-rosewater,catppuccin-frappe-flamingo,catppuccin-frappe-pink,catppuccin-frappe-mauve,catppuccin-frappe-red,catppuccin-frappe-maroon,catppuccin-frappe-peach,catppuccin-frappe-yellow,catppuccin-frappe-green,catppuccin-frappe-teal,catppuccin-frappe-sky,catppuccin-frappe-sapphire,catppuccin-frappe-blue,catppuccin-frappe-lavender,catppuccin-macchiato-rosewater,catppuccin-macchiato-flamingo,catppuccin-macchiato-pink,catppuccin-macchiato-mauve,catppuccin-macchiato-red,catppuccin-macchiato-maroon,catppuccin-macchiato-peach,catppuccin-macchiato-yellow,catppuccin-macchiato-green,catppuccin-macchiato-teal,catppuccin-macchiato-sky,catppuccin-macchiato-sapphire,catppuccin-macchiato-blue,catppuccin-macchiato-lavender,catppuccin-mocha-rosewater,catppuccin-mocha-flamingo,catppuccin-mocha-pink,catppuccin-mocha-mauve,catppuccin-mocha-red,catppuccin-mocha-maroon,catppuccin-mocha-peach,catppuccin-mocha-yellow,catppuccin-mocha-green,catppuccin-mocha-teal,catppuccin-mocha-sky,catppuccin-mocha-sapphire,catppuccin-mocha-blue,catppuccin-mocha-lavender
 | 
						|
      mirror:
 | 
						|
        DEFAULT_INTERVAL: 10m
 | 
						|
      repo-archive:
 | 
						|
        ENABLED: false
 | 
						|
    additionalConfigFromEnvs:
 | 
						|
      - name: GITEA__DATABASE__HOST
 | 
						|
        valueFrom:
 | 
						|
          secretKeyRef:
 | 
						|
            name: gitea-postgresql-17-cluster-app
 | 
						|
            key: host
 | 
						|
      - name: GITEA__DATABASE__NAME
 | 
						|
        valueFrom:
 | 
						|
          secretKeyRef:
 | 
						|
            name: gitea-postgresql-17-cluster-app
 | 
						|
            key: dbname
 | 
						|
      - name: GITEA__DATABASE__USER
 | 
						|
        valueFrom:
 | 
						|
          secretKeyRef:
 | 
						|
            name: gitea-postgresql-17-cluster-app
 | 
						|
            key: user
 | 
						|
      - name: GITEA__DATABASE__PASSWD
 | 
						|
        valueFrom:
 | 
						|
          secretKeyRef:
 | 
						|
            name: gitea-postgresql-17-cluster-app
 | 
						|
            key: password
 | 
						|
      - name: GITEA__INDEXER__ISSUE_INDEXER_CONN_STR
 | 
						|
        valueFrom:
 | 
						|
          secretKeyRef:
 | 
						|
            name: gitea-meilisearch-master-key-secret
 | 
						|
            key: ISSUE_INDEXER_CONN_STR
 | 
						|
  valkey-cluster:
 | 
						|
    enabled: false
 | 
						|
  valkey:
 | 
						|
    enabled: false
 | 
						|
  postgresql-ha:
 | 
						|
    enabled: false
 | 
						|
  postgresql:
 | 
						|
    enabled: false
 | 
						|
gitea-actions:
 | 
						|
  enabled: true
 | 
						|
  global:
 | 
						|
    fullnameOverride: gitea-actions
 | 
						|
  statefulset:
 | 
						|
    replicas: 6
 | 
						|
    actRunner:
 | 
						|
      repository: gitea/act_runner
 | 
						|
      tag: 0.2.11
 | 
						|
      config: |
 | 
						|
        log:
 | 
						|
          level: debug
 | 
						|
        cache:
 | 
						|
          enabled: false
 | 
						|
        runner:
 | 
						|
          labels:
 | 
						|
            - "ubuntu-latest:docker://harbor.alexlebens.net/proxy-hub.docker/gitea/runner-images:ubuntu-22.04"
 | 
						|
            - "ubuntu-24.04:docker://harbor.alexlebens.net/proxy-ghcr.io/actions-oss/act/minimal/root:ubuntu-24.04"
 | 
						|
            - "ubuntu-22.04:docker://harbor.alexlebens.net/proxy-hub.docker/gitea/runner-images:ubuntu-22.04"
 | 
						|
            - "ubuntu-20.04:docker://harbor.alexlebens.net/proxy-hub.docker/gitea/runner-images:ubuntu-20.04"
 | 
						|
    dind:
 | 
						|
      repository: docker
 | 
						|
      tag: 25.0.2-dind
 | 
						|
    persistence:
 | 
						|
      storageClass: ceph-block
 | 
						|
      size: 5Gi
 | 
						|
  init:
 | 
						|
    image:
 | 
						|
      repository: busybox
 | 
						|
      tag: "1.37.0"
 | 
						|
  existingSecret: gitea-runner-secret
 | 
						|
  existingSecretKey: token
 | 
						|
  giteaRootURL: http://gitea-http.gitea:3000
 | 
						|
backup:
 | 
						|
  global:
 | 
						|
    fullnameOverride: gitea-backup
 | 
						|
  controllers:
 | 
						|
    backup:
 | 
						|
      type: cronjob
 | 
						|
      cronjob:
 | 
						|
        suspend: false
 | 
						|
        concurrencyPolicy: Forbid
 | 
						|
        timeZone: US/Central
 | 
						|
        schedule: 0 4 */2 * *
 | 
						|
        startingDeadlineSeconds: 90
 | 
						|
        successfulJobsHistory: 3
 | 
						|
        failedJobsHistory: 3
 | 
						|
        backoffLimit: 3
 | 
						|
        parallelism: 1
 | 
						|
      serviceAccount:
 | 
						|
        name: gitea-backup
 | 
						|
      pod:
 | 
						|
        automountServiceAccountToken: true
 | 
						|
      initContainers:
 | 
						|
        backup:
 | 
						|
          image:
 | 
						|
            repository: bitnami/kubectl
 | 
						|
            tag: latest
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          command:
 | 
						|
            - sh
 | 
						|
          args:
 | 
						|
            - -ec
 | 
						|
            - |
 | 
						|
              kubectl exec -it deploy/gitea -n gitea -- rm -f /opt/backup/gitea-backup.zip;
 | 
						|
              kubectl exec -it deploy/gitea -n gitea -- /app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /opt/backup/gitea-backup.zip;
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 128Mi
 | 
						|
      containers:
 | 
						|
        s3-backup:
 | 
						|
          image:
 | 
						|
            repository: d3fk/s3cmd
 | 
						|
            tag: latest@sha256:ccf931d3f53ae65125744bd544f62e7fe796671b4607c8cce7105bf512dff27a
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          command:
 | 
						|
            - /bin/sh
 | 
						|
          args:
 | 
						|
            - -ec
 | 
						|
            - |
 | 
						|
              echo ">> Running S3 backup for Gitea"
 | 
						|
              s3cmd put --no-check-md5 --no-check-certificate -v /opt/backup/gitea-backup.zip ${BUCKET}/cl01tl/gitea-backup-$(date +"%Y%m%d-%H-%M").zip;
 | 
						|
              mv /opt/backup/gitea-backup.zip /opt/backup/gitea-backup-$(date +"%Y%m%d-%H-%M").zip;
 | 
						|
              echo ">> Completed S3 backup for Gitea"
 | 
						|
          env:
 | 
						|
            - name: BUCKET
 | 
						|
              valueFrom:
 | 
						|
                secretKeyRef:
 | 
						|
                  name: gitea-s3cmd-config
 | 
						|
                  key: BUCKET
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 128Mi
 | 
						|
        s3-prune:
 | 
						|
          image:
 | 
						|
            repository: d3fk/s3cmd
 | 
						|
            tag: latest@sha256:ccf931d3f53ae65125744bd544f62e7fe796671b4607c8cce7105bf512dff27a
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          command:
 | 
						|
            - /bin/sh
 | 
						|
          args:
 | 
						|
            - -ec
 | 
						|
            - |
 | 
						|
              export DATE_RANGE=$(date -d @$(( $(date +%s) - 604800 )) +%Y%m%d);
 | 
						|
              export FILE_MATCH="$BUCKET/cl01tl/gitea-backup-$DATE_RANGE-09-00.zip"
 | 
						|
              echo ">> Running S3 prune for Gitea backup repository"
 | 
						|
              echo ">> Backups prior to '$DATE_RANGE' will be removed"
 | 
						|
              echo ">> Backups to be removed:"
 | 
						|
              s3cmd ls ${BUCKET}/cl01tl/ |
 | 
						|
                awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}'
 | 
						|
              echo ">> Deleting ..."
 | 
						|
              s3cmd ls ${BUCKET}/cl01tl/ |
 | 
						|
                awk -v file_match="$FILE_MATCH" '$4 < file_match {print $4}' |
 | 
						|
                while read file; do
 | 
						|
                  s3cmd del "$file";
 | 
						|
                done;
 | 
						|
              echo ">> Completed S3 prune for Gitea backup repository"
 | 
						|
          env:
 | 
						|
            - name: BUCKET
 | 
						|
              valueFrom:
 | 
						|
                secretKeyRef:
 | 
						|
                  name: gitea-s3cmd-config
 | 
						|
                  key: BUCKET
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 128Mi
 | 
						|
  serviceAccount:
 | 
						|
    gitea-backup:
 | 
						|
      enabled: true
 | 
						|
  persistence:
 | 
						|
    config:
 | 
						|
      existingClaim: gitea-nfs-storage-backup
 | 
						|
      advancedMounts:
 | 
						|
        backup:
 | 
						|
          s3-backup:
 | 
						|
            - path: /opt/backup
 | 
						|
              readOnly: false
 | 
						|
    s3cmd-config:
 | 
						|
      enabled: true
 | 
						|
      type: secret
 | 
						|
      name: gitea-s3cmd-config
 | 
						|
      advancedMounts:
 | 
						|
        backup:
 | 
						|
          s3-backup:
 | 
						|
            - path: /root/.s3cfg
 | 
						|
              readOnly: true
 | 
						|
              mountPropagation: None
 | 
						|
              subPath: .s3cfg
 | 
						|
          s3-prune:
 | 
						|
            - path: /root/.s3cfg
 | 
						|
              readOnly: true
 | 
						|
              mountPropagation: None
 | 
						|
              subPath: .s3cfg
 | 
						|
meilisearch:
 | 
						|
  environment:
 | 
						|
    MEILI_NO_ANALYTICS: true
 | 
						|
    MEILI_ENV: production
 | 
						|
    MEILI_EXPERIMENTAL_DUMPLESS_UPGRADE: true
 | 
						|
  auth:
 | 
						|
    existingMasterKeySecret: gitea-meilisearch-master-key-secret
 | 
						|
  service:
 | 
						|
    type: ClusterIP
 | 
						|
    port: 7700
 | 
						|
  persistence:
 | 
						|
    enabled: true
 | 
						|
    storageClass: ceph-block
 | 
						|
    size: 5Gi
 | 
						|
  resources:
 | 
						|
    requests:
 | 
						|
      cpu: 10m
 | 
						|
      memory: 128Mi
 | 
						|
  serviceMonitor:
 | 
						|
    enabled: true
 | 
						|
cloudflared:
 | 
						|
  existingSecretName: gitea-cloudflared-secret
 | 
						|
postgres-17-cluster:
 | 
						|
  mode: recovery
 | 
						|
  cluster:
 | 
						|
    storage:
 | 
						|
      storageClass: local-path
 | 
						|
    walStorage:
 | 
						|
      storageClass: local-path
 | 
						|
    monitoring:
 | 
						|
      enabled: true
 | 
						|
      prometheusRule:
 | 
						|
        enabled: true
 | 
						|
    resources:
 | 
						|
      requests:
 | 
						|
        memory: 1Gi
 | 
						|
        cpu: 200m
 | 
						|
  recovery:
 | 
						|
    method: objectStore
 | 
						|
    objectStore:
 | 
						|
      destinationPath: s3://postgres-backups/cl01tl/gitea/gitea-postgresql-17-cluster
 | 
						|
      endpointURL: http://garage-main.garage:3900
 | 
						|
      index: 1
 | 
						|
      endpointCredentials: gitea-postgresql-17-cluster-backup-secret-garage
 | 
						|
  backup:
 | 
						|
    objectStore:
 | 
						|
      - name: external
 | 
						|
        destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/gitea/gitea-postgresql-17-cluster
 | 
						|
        index: 1
 | 
						|
        retentionPolicy: "7d"
 | 
						|
        isWALArchiver: false
 | 
						|
      - name: garage-local
 | 
						|
        destinationPath: s3://postgres-backups/cl01tl/gitea/gitea-postgresql-17-cluster
 | 
						|
        index: 1
 | 
						|
        endpointURL: http://garage-main.garage:3900
 | 
						|
        endpointCredentials: gitea-postgresql-17-cluster-backup-secret-garage
 | 
						|
        endpointCredentialsIncludeRegion: true
 | 
						|
        retentionPolicy: "7d"
 | 
						|
        isWALArchiver: true
 | 
						|
      # - name: garage-remote
 | 
						|
      #   destinationPath: s3://postgres-backups/cl01tl/gitea/gitea-postgresql-17-cluster
 | 
						|
      #   index: 1
 | 
						|
      #   endpointURL: https://garage-ps10rp.boreal-beaufort.ts.net:3900
 | 
						|
      #   endpointCredentials: gitea-postgresql-17-cluster-backup-secret-garage
 | 
						|
      #   retentionPolicy: "30d"
 | 
						|
      #   data:
 | 
						|
      #     compression: bzip2
 | 
						|
      #     jobs: 2
 | 
						|
    scheduledBackups:
 | 
						|
      - name: daily-backup
 | 
						|
        suspend: false
 | 
						|
        schedule: "0 0 0 * * *"
 | 
						|
        backupName: external
 | 
						|
      - name: live-backup
 | 
						|
        suspend: false
 | 
						|
        immediate: true
 | 
						|
        schedule: "0 0 0 * * *"
 | 
						|
        backupName: garage-local
 | 
						|
      # - name: weekly-backup
 | 
						|
      #   suspend: false
 | 
						|
      #   schedule: "0 0 4 * * SAT"
 | 
						|
      #   backupName: garage-remote
 |