Skip to content

Commit 2b13bac

Browse files
committed
Merge remote-tracking branch 'origin/main' into cm
* origin/main: (69 commits) Correct swagger annotations for enums, status codes, and notification state (go-gitea#37030) Update Nix flake (go-gitea#37024) Bump go and python versions in nix flake (go-gitea#37031) Make task list checkboxes clickable in the preview tab (go-gitea#37010) Add support for in_progress event in workflow_run webhook (go-gitea#36979) Fix various problems (go-gitea#37029) Update AI Contribution Policy (go-gitea#37022) Migrate from webpack to vite (go-gitea#37002) Upgrade yaml (go-gitea#37015) Fix issue label deletion with Actions tokens (go-gitea#37013) Hide delete branch or tag buttons in mirror or archived repositories. (go-gitea#37006) Update AGENTS.md with additional guidelines (go-gitea#37018) Optimize 'refreshAccesses' to perform update without removing then adding (go-gitea#35702) Fix relative-time RangeError (go-gitea#37021) Restyle Workflow Graph (go-gitea#36912) Update message severity colors, fix navbar double border (go-gitea#37019) Clean up checkbox cursor styles (go-gitea#37016) add missing cron tasks to example ini (go-gitea#37012) Add e2e tests for server push events (go-gitea#36879) Update JS dependencies (go-gitea#37001) ... # Conflicts: # package.json # pnpm-lock.yaml # tests/e2e/utils.ts # web_src/css/themes/theme-gitea-dark.css # web_src/css/themes/theme-gitea-light.css # web_src/js/bootstrap.ts # web_src/js/features/codeeditor.ts # web_src/js/modules/errors.test.ts # webpack.config.ts
2 parents eac01f6 + 2633f96 commit 2b13bac

502 files changed

Lines changed: 15415 additions & 9241 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"customizations": {
2121
"vscode": {
2222
"settings": {},
23-
// same extensions as Gitpod, should match /.gitpod.yml
2423
"extensions": [
2524
"editorconfig.editorconfig",
2625
"dbaeumer.vscode-eslint",

.github/labeler.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ modifies/internal:
4343
- ".editorconfig"
4444
- ".eslintrc.cjs"
4545
- ".golangci.yml"
46-
- ".gitpod.yml"
4746
- ".markdownlint.yaml"
4847
- ".spectral.yaml"
4948
- "stylelint.config.*"

.github/workflows/cron-flake-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
- uses: DeterminateSystems/determinate-nix-action@v3
1818
- uses: DeterminateSystems/update-flake-lock@main
1919
with:

.github/workflows/files-changed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
json: ${{ steps.changes.outputs.json }}
4141
steps:
4242
- uses: actions/checkout@v6
43-
- uses: dorny/paths-filter@v3
43+
- uses: dorny/paths-filter@v4
4444
id: changes
4545
with:
4646
filters: |

.github/workflows/pull-compliance.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v6
4141
- uses: astral-sh/setup-uv@v7
4242
- run: uv python install 3.14
43-
- uses: pnpm/action-setup@v4
43+
- uses: pnpm/action-setup@v5
4444
- uses: actions/setup-node@v6
4545
with:
4646
node-version: 24
@@ -71,7 +71,7 @@ jobs:
7171
contents: read
7272
steps:
7373
- uses: actions/checkout@v6
74-
- uses: pnpm/action-setup@v4
74+
- uses: pnpm/action-setup@v5
7575
- uses: actions/setup-node@v5
7676
with:
7777
node-version: 24
@@ -86,7 +86,7 @@ jobs:
8686
contents: read
8787
steps:
8888
- uses: actions/checkout@v6
89-
- uses: pnpm/action-setup@v4
89+
- uses: pnpm/action-setup@v5
9090
- uses: actions/setup-node@v6
9191
with:
9292
node-version: 24
@@ -168,7 +168,7 @@ jobs:
168168
contents: read
169169
steps:
170170
- uses: actions/checkout@v6
171-
- uses: pnpm/action-setup@v4
171+
- uses: pnpm/action-setup@v5
172172
- uses: actions/setup-node@v6
173173
with:
174174
node-version: 24
@@ -222,7 +222,7 @@ jobs:
222222
contents: read
223223
steps:
224224
- uses: actions/checkout@v6
225-
- uses: pnpm/action-setup@v4
225+
- uses: pnpm/action-setup@v5
226226
- uses: actions/setup-node@v6
227227
with:
228228
node-version: 24

.github/workflows/pull-docker-dryrun.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
contents: read
2222
steps:
2323
- uses: actions/checkout@v6
24-
- uses: docker/setup-qemu-action@v3
25-
- uses: docker/setup-buildx-action@v3
24+
- uses: docker/setup-qemu-action@v4
25+
- uses: docker/setup-buildx-action@v4
2626
- name: Build regular container image
27-
uses: docker/build-push-action@v6
27+
uses: docker/build-push-action@v7
2828
with:
2929
context: .
3030
platforms: linux/amd64,linux/arm64,linux/riscv64
3131
push: false
3232
cache-from: type=registry,ref=ghcr.io/go-gitea/gitea:buildcache-rootful
3333
- name: Build rootless container image
34-
uses: docker/build-push-action@v6
34+
uses: docker/build-push-action@v7
3535
with:
3636
context: .
3737
push: false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
go-version-file: go.mod
2727
check-latest: true
28-
- uses: pnpm/action-setup@v4
28+
- uses: pnpm/action-setup@v5
2929
- uses: actions/setup-node@v6
3030
with:
3131
node-version: 24

.github/workflows/release-nightly.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
go-version-file: go.mod
2424
check-latest: true
25-
- uses: pnpm/action-setup@v4
25+
- uses: pnpm/action-setup@v5
2626
- uses: actions/setup-node@v6
2727
with:
2828
node-version: 24
@@ -35,7 +35,7 @@ jobs:
3535
TAGS: bindata sqlite sqlite_unlock_notify
3636
- name: import gpg key
3737
id: import_gpg
38-
uses: crazy-max/ghaction-import-gpg@v6
38+
uses: crazy-max/ghaction-import-gpg@v7
3939
with:
4040
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
4141
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
@@ -52,7 +52,7 @@ jobs:
5252
echo "Cleaned name is ${REF_NAME}"
5353
echo "branch=${REF_NAME}-nightly" >> "$GITHUB_OUTPUT"
5454
- name: configure aws
55-
uses: aws-actions/configure-aws-credentials@v5
55+
uses: aws-actions/configure-aws-credentials@v6
5656
with:
5757
aws-region: ${{ secrets.AWS_REGION }}
5858
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -71,14 +71,14 @@ jobs:
7171
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
7272
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
7373
- run: git fetch --unshallow --quiet --tags --force
74-
- uses: docker/setup-qemu-action@v3
75-
- uses: docker/setup-buildx-action@v3
74+
- uses: docker/setup-qemu-action@v4
75+
- uses: docker/setup-buildx-action@v4
7676
- name: Get cleaned branch name
7777
id: clean_name
7878
run: |
7979
REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\///' -e 's/release\/v//')
8080
echo "branch=${REF_NAME}-nightly" >> "$GITHUB_OUTPUT"
81-
- uses: docker/metadata-action@v5
81+
- uses: docker/metadata-action@v6
8282
id: meta
8383
with:
8484
images: |-
@@ -88,7 +88,7 @@ jobs:
8888
type=raw,value=${{ steps.clean_name.outputs.branch }}
8989
annotations: |
9090
org.opencontainers.image.authors="maintainers@gitea.io"
91-
- uses: docker/metadata-action@v5
91+
- uses: docker/metadata-action@v6
9292
id: meta_rootless
9393
with:
9494
images: |-
@@ -102,18 +102,18 @@ jobs:
102102
annotations: |
103103
org.opencontainers.image.authors="maintainers@gitea.io"
104104
- name: Login to Docker Hub
105-
uses: docker/login-action@v3
105+
uses: docker/login-action@v4
106106
with:
107107
username: ${{ secrets.DOCKERHUB_USERNAME }}
108108
password: ${{ secrets.DOCKERHUB_TOKEN }}
109109
- name: Login to GHCR using PAT
110-
uses: docker/login-action@v3
110+
uses: docker/login-action@v4
111111
with:
112112
registry: ghcr.io
113113
username: ${{ github.repository_owner }}
114114
password: ${{ secrets.GITHUB_TOKEN }}
115115
- name: build regular docker image
116-
uses: docker/build-push-action@v6
116+
uses: docker/build-push-action@v7
117117
with:
118118
context: .
119119
platforms: linux/amd64,linux/arm64,linux/riscv64
@@ -123,7 +123,7 @@ jobs:
123123
cache-from: type=registry,ref=ghcr.io/go-gitea/gitea:buildcache-rootful
124124
cache-to: type=registry,ref=ghcr.io/go-gitea/gitea:buildcache-rootful,mode=max
125125
- name: build rootless docker image
126-
uses: docker/build-push-action@v6
126+
uses: docker/build-push-action@v7
127127
with:
128128
context: .
129129
platforms: linux/amd64,linux/arm64,linux/riscv64

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
go-version-file: go.mod
2525
check-latest: true
26-
- uses: pnpm/action-setup@v4
26+
- uses: pnpm/action-setup@v5
2727
- uses: actions/setup-node@v6
2828
with:
2929
node-version: 24
@@ -36,7 +36,7 @@ jobs:
3636
TAGS: bindata sqlite sqlite_unlock_notify
3737
- name: import gpg key
3838
id: import_gpg
39-
uses: crazy-max/ghaction-import-gpg@v6
39+
uses: crazy-max/ghaction-import-gpg@v7
4040
with:
4141
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
4242
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
@@ -53,7 +53,7 @@ jobs:
5353
echo "Cleaned name is ${REF_NAME}"
5454
echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
5555
- name: configure aws
56-
uses: aws-actions/configure-aws-credentials@v5
56+
uses: aws-actions/configure-aws-credentials@v6
5757
with:
5858
aws-region: ${{ secrets.AWS_REGION }}
5959
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -81,9 +81,9 @@ jobs:
8181
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
8282
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
8383
- run: git fetch --unshallow --quiet --tags --force
84-
- uses: docker/setup-qemu-action@v3
85-
- uses: docker/setup-buildx-action@v3
86-
- uses: docker/metadata-action@v5
84+
- uses: docker/setup-qemu-action@v4
85+
- uses: docker/setup-buildx-action@v4
86+
- uses: docker/metadata-action@v6
8787
id: meta
8888
with:
8989
images: |-
@@ -96,7 +96,7 @@ jobs:
9696
type=semver,pattern={{version}}
9797
annotations: |
9898
org.opencontainers.image.authors="maintainers@gitea.io"
99-
- uses: docker/metadata-action@v5
99+
- uses: docker/metadata-action@v6
100100
id: meta_rootless
101101
with:
102102
images: |-
@@ -112,26 +112,26 @@ jobs:
112112
annotations: |
113113
org.opencontainers.image.authors="maintainers@gitea.io"
114114
- name: Login to Docker Hub
115-
uses: docker/login-action@v3
115+
uses: docker/login-action@v4
116116
with:
117117
username: ${{ secrets.DOCKERHUB_USERNAME }}
118118
password: ${{ secrets.DOCKERHUB_TOKEN }}
119119
- name: Login to GHCR using PAT
120-
uses: docker/login-action@v3
120+
uses: docker/login-action@v4
121121
with:
122122
registry: ghcr.io
123123
username: ${{ github.repository_owner }}
124124
password: ${{ secrets.GITHUB_TOKEN }}
125125
- name: build regular container image
126-
uses: docker/build-push-action@v6
126+
uses: docker/build-push-action@v7
127127
with:
128128
context: .
129129
platforms: linux/amd64,linux/arm64,linux/riscv64
130130
push: true
131131
tags: ${{ steps.meta.outputs.tags }}
132132
annotations: ${{ steps.meta.outputs.annotations }}
133133
- name: build rootless container image
134-
uses: docker/build-push-action@v6
134+
uses: docker/build-push-action@v7
135135
with:
136136
context: .
137137
platforms: linux/amd64,linux/arm64,linux/riscv64

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
go-version-file: go.mod
2828
check-latest: true
29-
- uses: pnpm/action-setup@v4
29+
- uses: pnpm/action-setup@v5
3030
- uses: actions/setup-node@v6
3131
with:
3232
node-version: 24
@@ -39,7 +39,7 @@ jobs:
3939
TAGS: bindata sqlite sqlite_unlock_notify
4040
- name: import gpg key
4141
id: import_gpg
42-
uses: crazy-max/ghaction-import-gpg@v6
42+
uses: crazy-max/ghaction-import-gpg@v7
4343
with:
4444
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
4545
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
@@ -56,7 +56,7 @@ jobs:
5656
echo "Cleaned name is ${REF_NAME}"
5757
echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
5858
- name: configure aws
59-
uses: aws-actions/configure-aws-credentials@v5
59+
uses: aws-actions/configure-aws-credentials@v6
6060
with:
6161
aws-region: ${{ secrets.AWS_REGION }}
6262
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -84,9 +84,9 @@ jobs:
8484
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
8585
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
8686
- run: git fetch --unshallow --quiet --tags --force
87-
- uses: docker/setup-qemu-action@v3
88-
- uses: docker/setup-buildx-action@v3
89-
- uses: docker/metadata-action@v5
87+
- uses: docker/setup-qemu-action@v4
88+
- uses: docker/setup-buildx-action@v4
89+
- uses: docker/metadata-action@v6
9090
id: meta
9191
with:
9292
images: |-
@@ -103,7 +103,7 @@ jobs:
103103
type=semver,pattern={{major}}.{{minor}}
104104
annotations: |
105105
org.opencontainers.image.authors="maintainers@gitea.io"
106-
- uses: docker/metadata-action@v5
106+
- uses: docker/metadata-action@v6
107107
id: meta_rootless
108108
with:
109109
images: |-
@@ -124,26 +124,26 @@ jobs:
124124
annotations: |
125125
org.opencontainers.image.authors="maintainers@gitea.io"
126126
- name: Login to Docker Hub
127-
uses: docker/login-action@v3
127+
uses: docker/login-action@v4
128128
with:
129129
username: ${{ secrets.DOCKERHUB_USERNAME }}
130130
password: ${{ secrets.DOCKERHUB_TOKEN }}
131131
- name: Login to GHCR using PAT
132-
uses: docker/login-action@v3
132+
uses: docker/login-action@v4
133133
with:
134134
registry: ghcr.io
135135
username: ${{ github.repository_owner }}
136136
password: ${{ secrets.GITHUB_TOKEN }}
137137
- name: build regular container image
138-
uses: docker/build-push-action@v6
138+
uses: docker/build-push-action@v7
139139
with:
140140
context: .
141141
platforms: linux/amd64,linux/arm64,linux/riscv64
142142
push: true
143143
tags: ${{ steps.meta.outputs.tags }}
144144
annotations: ${{ steps.meta.outputs.annotations }}
145145
- name: build rootless container image
146-
uses: docker/build-push-action@v6
146+
uses: docker/build-push-action@v7
147147
with:
148148
context: .
149149
platforms: linux/amd64,linux/arm64,linux/riscv64

0 commit comments

Comments
 (0)