Skip to content

Commit b6a3848

Browse files
authored
Merge branch 'master' into feature/485-ecs-pattern-implementation
2 parents f92c2a4 + f0f4c7d commit b6a3848

File tree

5 files changed

+42
-13
lines changed

5 files changed

+42
-13
lines changed

.github/workflows/presubmit.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Presubmit.ai
2+
3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
issues: write
7+
8+
on:
9+
pull_request_target: # Handle forked repository PRs in the base repository context
10+
types: [opened, synchronize]
11+
pull_request_review_comment: # Handle review comments
12+
types: [created]
13+
14+
jobs:
15+
review:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Check required secrets
19+
run: |
20+
if [ -z "${{ secrets.LLM_API_KEY }}" ]; then
21+
echo "Error: LLM_API_KEY secret is not configured"
22+
exit 1
23+
fi
24+
25+
- name: Check out PR code
26+
uses: actions/checkout@v3
27+
with:
28+
ref: ${{ github.event.pull_request.head.sha }}
29+
30+
- name: Run AI Reviewer
31+
uses: presubmit/ai-reviewer@latest
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
35+
LLM_MODEL: "gemini-1.5-flash"

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ jobs:
1717
days-before-pr-stale: 60
1818
days-before-issue-close: -1
1919
days-before-pr-close: -1
20+
exempt-issue-labels: 'info: help wanted'

PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
<!--
2-
Thank you for contributing to Java Design Patterns!
1+
# Pull Request Template
32

4-
If you're unsure where to start, please refer to the contributing doc:
3+
## What does this PR do?
54

6-
https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute
5+
<!-- Provide a short description of what this pull request does. -->
76

8-
If you still have questions, please let us know via issues or [gitter](https://matrix.to/#/#iluwatar_java-design-patterns:gitter.im).
9-
-->
10-
11-
## What problem does this PR solve?
12-
13-
<!-- Please describe the problem you're trying to solve. Uncomment the following line if this PR closes some issues -->
14-
<!-- Close #<issue number> -->
7+
<!-- Fixes #<issue-number> (if applicable) -->

dynamic-proxy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>com.fasterxml.jackson.core</groupId>
4040
<artifactId>jackson-core</artifactId>
41-
<version>2.18.1</version>
41+
<version>2.18.2</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>com.fasterxml.jackson.core</groupId>

event-sourcing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>com.fasterxml.jackson.core</groupId>
4444
<artifactId>jackson-core</artifactId>
45-
<version>2.18.1</version>
45+
<version>2.18.2</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>com.fasterxml.jackson.core</groupId>

0 commit comments

Comments
 (0)