Skip to content

Commit 204cbf6

Browse files
authored
Merge branch 'main' into ci-feature-greeting-guideline
2 parents cdd71f8 + 0c70cf0 commit 204cbf6

File tree

91 files changed

+5055
-3380
lines changed

Some content is hidden

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

91 files changed

+5055
-3380
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🐛 Bug Report
1817
description: Problems and issues with code of Spring AI Alibaba 🤔.
1918
title: "[BUG] <title>"
2019
labels: ["bug"]
21-
2220
body:
2321
- type: checkboxes
2422
attributes:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
blank_issues_enabled: false
1817
contact_links:
1918
- name: Community Support

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🚀 Feature Request
1817
description: I have a suggestion (and may want to implement it 🙂)!
1918
title: "[Feature] <title>"
2019
labels: ["new feature"]
21-
2220
body:
2321
- type: textarea
2422
attributes:
2523
label: Feature Request
2624
description: >
2725
Tip: Have you checked the docs https://java2ai.com, GitHub issues whether someone else has already reported your issue? Maybe the feature already exists?
26+
2827
placeholder: >
2928
A concise description of what you're experiencing.
29+
3030
validations:
3131
required: false
3232
- type: textarea

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,17 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🤔 Question
1817
description: Usage question that isn't answered in docs or discussion
1918
title: "[Question] <title>"
2019
labels: ["question"]
21-
2220
body:
2321
- type: textarea
2422
attributes:
2523
label: Question
2624
placeholder: >
2725
your question here;
26+
2827
validations:
2928
required: true
3029
- type: markdown

.github/ISSUE_TEMPLATE/task.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🚀 Task
1817
description: Used to create tasks for the community.
1918
title: "[Task] <title>"
2019
labels: ["discussion"]
21-
2220
body:
2321
- type: textarea
2422
attributes:

.github/dependbot.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
version: 2
1817
updates:
19-
2018
- package-ecosystem: "maven"
2119
directory: "/"
2220
open-pull-requests-limit: 20

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🛠️ Build and Test
18-
1917
on:
2018
push:
2119
branches:
@@ -27,10 +25,8 @@ on:
2725
- main
2826
paths-ignore:
2927
- '**.md'
30-
3128
permissions:
3229
contents: read
33-
3430
jobs:
3531
format:
3632
if: (github.repository == 'alibaba/spring-ai-alibaba')
@@ -39,7 +35,6 @@ jobs:
3935
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4036
- uses: ./tools/github-actions/setup-deps
4137
- run: make format-check
42-
4338
test:
4439
if: (github.repository == 'alibaba/spring-ai-alibaba')
4540
runs-on: ubuntu-22.04
@@ -48,7 +43,6 @@ jobs:
4843
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4944
- uses: ./tools/github-actions/setup-deps
5045
- run: make test
51-
5246
build:
5347
if: (github.repository == 'alibaba/spring-ai-alibaba')
5448
runs-on: ubuntu-22.04

.github/workflows/license-check.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,20 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🗒️ License Check
18-
1917
on:
2018
push:
2119
branches:
2220
- main
2321
pull_request:
2422
branches:
2523
- main
26-
2724
jobs:
2825
license-check:
2926
if: (github.repository == 'alibaba/spring-ai-alibaba')
3027
runs-on: ubuntu-22.04
3128
steps:
32-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3330
- uses: ./tools/github-actions/setup-deps
3431
- run: make tools
3532
- run: make licenses-check

.github/workflows/lint-pr-title.yml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 🤔 Lint PR
18-
1917
on:
2018
pull_request_target:
2119
types:
2220
- opened
2321
- edited
2422
- reopened
25-
2623
jobs:
2724
main:
2825
name: Validate PR title
@@ -33,3 +30,38 @@ jobs:
3330
- uses: amannn/action-semantic-pull-request@v5
3431
env:
3532
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
with:
34+
types: |
35+
fix
36+
feat
37+
reactor
38+
docs
39+
chore
40+
perf
41+
infra
42+
revert
43+
release
44+
scopes: |
45+
core
46+
vector-stores
47+
document-readers
48+
document-parsers
49+
memories
50+
tool-calls
51+
graph
52+
jManus
53+
mcp
54+
prompt
55+
studio
56+
autoConf
57+
ci
58+
requireScope: true
59+
disallowScopes: |
60+
[A-Z]+
61+
subjectPattern: ^(?![A-Z]).+$
62+
subjectPatternError: |
63+
The subject "{subject}" found in the pull request title "{title}"
64+
didn't match the configured pattern. Please ensure that the subject
65+
doesn't start with an uppercase character.
66+
validateSingleCommit: true
67+
validateSingleCommitMatchesPrTitle: true

.github/workflows/linter.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,22 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
1716
name: 👀 Linter
18-
1917
on:
2018
push:
2119
branches:
2220
- main
2321
pull_request:
2422
branches:
2523
- main
26-
2724
permissions:
2825
contents: read
29-
3026
jobs:
3127
linter:
3228
if: (github.repository == 'alibaba/spring-ai-alibaba')
3329
runs-on: ubuntu-22.04
3430
steps:
35-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3632
- uses: ./tools/github-actions/setup-deps
3733
- run: make tools
3834
- run: make lint

0 commit comments

Comments
 (0)