Skip to content

Commit 3ec63b9

Browse files
authored
Merge branch 'main' into feat/team_users_ui
2 parents 1b86b02 + c1b617f commit 3ec63b9

587 files changed

Lines changed: 33823 additions & 1960 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.

.codespellrc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
[codespell]
19+
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
20+
skip = .git,.gitignore,.gitattributes,*.svg,go.sum,*.lock,*.css,.codespellrc,.cache,.npm,.yarn,*/e2e/raw_tables/*,*/e2e/snapshot_tables/*
21+
check-hidden = true
22+
# Ignore camelCase and PascalCase identifiers (common in Go and TypeScript code)
23+
ignore-regex = \b[a-z]+[A-Z]\w*\b|\b[A-Z][a-z]+[A-Z]\w*\b
24+
# convertor,convertors - project's deliberate spelling for Go types and filenames (DataConvertor, etc.)
25+
# crypted - variable name in AES encrypt/decrypt functions
26+
# te - Tapd API field name (Te/te struct fields)
27+
# thur - Thursday abbreviation in Grafana dashboard SQL column alias
28+
ignore-words-list = convertor,convertors,crypted,te,thur

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
FROM mcr.microsoft.com/devcontainers/go:1-1.23-bookworm
16+
FROM mcr.microsoft.com/devcontainers/go:1-1.26-bookworm
1717

1818
ENV PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib:/usr/local/lib/pkgconfig
1919
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

.github/actions/auto-cherry-pick/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ name: "Auto Cherry Pick"
1919
description: "cherry pick commits from Pull Requests into Release branch"
2020
inputs:
2121
trigger_label_prefix:
22-
description: "The trigger label prefic"
22+
description: "The trigger label prefix"
2323
default: "needs-cherrypick-"
2424
required: false
2525
author_email:

.github/workflows/NOTICE-year-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
notice-year-check:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v6
2626
- name: check the NOTICE file
2727
run: grep $(date +"%Y") NOTICE

.github/workflows/asf-header-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-24.04
2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v6
3131

3232
- name: Check License Header
3333
uses: apache/skywalking-eyes@main

.github/workflows/auto-cherry-pick.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: github.event.pull_request.merged == true
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 0
3434
- name: Auto Cherry Pick

.github/workflows/build-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: Build lake-builder image
2626
runs-on: ubuntu-20.04
2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v6
2929
- uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
3030
with:
3131
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}

.github/workflows/build.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ jobs:
4141
sudo rm -rf /opt/hostedtoolcache/CodeQL
4242
docker system prune -af
4343
docker volume prune -f
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v6
4545
- name: Set up QEMU
46-
uses: docker/setup-qemu-action@v2
46+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
4747
- name: Set up Docker Buildx
48-
uses: docker/setup-buildx-action@v2
48+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
4949
- name: Login to DockerHub
50-
uses: docker/login-action@v2
50+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
5151
with:
5252
username: ${{ env.DOCKERHUB_USERNAME }}
5353
password: ${{ env.DOCKERHUB_TOKEN }}
5454
- name: Build and push lake image
55-
uses: docker/build-push-action@v3
55+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
5656
with:
5757
context: ./backend
5858
push: true
@@ -73,18 +73,18 @@ jobs:
7373
sudo rm -rf /opt/hostedtoolcache/CodeQL
7474
docker system prune -af
7575
docker volume prune -f
76-
- uses: actions/checkout@v3
76+
- uses: actions/checkout@v6
7777
- name: Set up QEMU
78-
uses: docker/setup-qemu-action@v2
78+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
7979
- name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v2
80+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
8181
- name: Login to DockerHub
82-
uses: docker/login-action@v2
82+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
8383
with:
8484
username: ${{ env.DOCKERHUB_USERNAME }}
8585
password: ${{ env.DOCKERHUB_TOKEN }}
8686
- name: Build and push lake image
87-
uses: docker/build-push-action@v3
87+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
8888
with:
8989
context: ./backend
9090
push: true
@@ -109,25 +109,25 @@ jobs:
109109
sudo rm -rf /opt/hostedtoolcache/CodeQL
110110
docker system prune -af
111111
docker volume prune -f
112-
- uses: actions/checkout@v3
112+
- uses: actions/checkout@v6
113113
- name: Get short sha
114114
id: get_short_sha
115115
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
116116
- name: Set up QEMU
117-
uses: docker/setup-qemu-action@v2
117+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
118118
- name: Set up Docker Buildx
119-
uses: docker/setup-buildx-action@v2
119+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
120120
- name: Login to DockerHub
121-
uses: docker/login-action@v2
121+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
122122
with:
123123
username: ${{ env.DOCKERHUB_USERNAME }}
124124
password: ${{ env.DOCKERHUB_TOKEN }}
125-
- uses: actions/cache@v3
125+
- uses: actions/cache@v5
126126
with:
127127
path: /tmp/devlake-build-cache-${{ matrix.platform }}
128128
key: buildx-devlake-build-cache-${{ github.run_id }}-${{ matrix.platform }}
129129
- name: Build and cache lake build
130-
uses: docker/build-push-action@v3
130+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
131131
with:
132132
context: ./backend
133133
push: false
@@ -161,24 +161,24 @@ jobs:
161161
sudo rm -rf /opt/hostedtoolcache/CodeQL
162162
docker system prune -af
163163
docker volume prune -f
164-
- uses: actions/checkout@v3
164+
- uses: actions/checkout@v6
165165
- name: Get short sha
166166
id: get_short_sha
167167
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
168168
- name: Set up QEMU
169-
uses: docker/setup-qemu-action@v2
169+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
170170
- name: Set up Docker Buildx
171-
uses: docker/setup-buildx-action@v2
171+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
172172
- name: Login to DockerHub
173-
uses: docker/login-action@v2
173+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
174174
with:
175175
username: ${{ env.DOCKERHUB_USERNAME }}
176176
password: ${{ env.DOCKERHUB_TOKEN }}
177-
- uses: actions/cache@v3
177+
- uses: actions/cache@v5
178178
with:
179179
path: /tmp/devlake-build-cache-amd64
180180
key: buildx-devlake-build-cache-${{ github.run_id }}-amd64
181-
- uses: actions/cache@v3
181+
- uses: actions/cache@v5
182182
with:
183183
path: /tmp/devlake-build-cache-arm64
184184
key: buildx-devlake-build-cache-${{ github.run_id }}-arm64
@@ -194,7 +194,7 @@ jobs:
194194
echo "TAGS=${image_name}:${{ github.ref_name }}_${{ needs.get-timestamp.outputs.timestamp }}_${{ steps.get_short_sha.outputs.SHORT_SHA }}" >> $GITHUB_OUTPUT
195195
fi
196196
- name: Build and push lake image
197-
uses: docker/build-push-action@v3
197+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
198198
with:
199199
context: ./backend
200200
push: true
@@ -209,7 +209,7 @@ jobs:
209209
TAG=${{ github.ref_name }}
210210
SHA=${{ steps.get_short_sha.outputs.SHORT_SHA }}
211211
- name: Clear cache
212-
uses: actions/github-script@v6
212+
uses: actions/github-script@v9
213213
if: always()
214214
with:
215215
script: |
@@ -248,16 +248,16 @@ jobs:
248248
sudo rm -rf /opt/hostedtoolcache/CodeQL
249249
docker system prune -af
250250
docker volume prune -f
251-
- uses: actions/checkout@v3
251+
- uses: actions/checkout@v6
252252
- name: Get short sha
253253
id: get_short_sha
254254
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
255255
- name: Set up QEMU
256-
uses: docker/setup-qemu-action@v2
256+
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
257257
- name: Set up Docker Buildx
258-
uses: docker/setup-buildx-action@v2
258+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
259259
- name: Login to DockerHub
260-
uses: docker/login-action@v2
260+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
261261
with:
262262
username: ${{ env.DOCKERHUB_USERNAME }}
263263
password: ${{ env.DOCKERHUB_TOKEN }}
@@ -273,7 +273,7 @@ jobs:
273273
echo "TAGS=${image_name}:${{ github.ref_name }}_${{ needs.get-timestamp.outputs.timestamp }}_${{ steps.get_short_sha.outputs.SHORT_SHA }}" >> $GITHUB_OUTPUT
274274
fi
275275
- name: Build and push ${{ matrix.build.name }} image
276-
uses: docker/build-push-action@v3
276+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
277277
with:
278278
context: ${{ matrix.build.context }}
279279
push: true

.github/workflows/codespell.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# Codespell configuration is within .codespellrc
18+
---
19+
name: Codespell
20+
21+
on:
22+
push:
23+
branches: [main]
24+
pull_request:
25+
branches: [main]
26+
27+
permissions:
28+
contents: read
29+
30+
jobs:
31+
codespell:
32+
name: Check for spelling errors
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v6
38+
- name: Codespell
39+
uses: codespell-project/actions-codespell@v2

.github/workflows/commit-msg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
commit-msg:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 0
2828
- name: Cache lint-commit-message
2929
id: cache-lint-commit-message
30-
uses: actions/cache@v3
30+
uses: actions/cache@v5
3131
with:
3232
path: lint-commit-message
3333
key: ${{ runner.os }}-lint-commit-message

0 commit comments

Comments
 (0)