Skip to content

Commit a685718

Browse files
authored
Merge pull request #42 from BenCodez/dependabot/maven/SimpleAPI/redis.clients-jedis-7.0.0
Bump redis.clients:jedis from 6.2.0 to 7.0.0 in /SimpleAPI
2 parents f171cc8 + aa026b0 commit a685718

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
33

4-
# This workflow uses actions that are not certified by GitHub.
5-
# They are provided by a third-party and are governed by
6-
# separate terms of service, privacy policy, and support
7-
# documentation.
8-
94
name: Java CI with Maven
105

116
on:
@@ -14,6 +9,9 @@ on:
149
pull_request:
1510
branches: [ "main" ]
1611

12+
permissions:
13+
contents: write # required for dependency submission
14+
1715
jobs:
1816
build:
1917
runs-on: ubuntu-latest
@@ -30,8 +28,10 @@ jobs:
3028
- name: Build with Maven
3129
run: mvn -B -f SimpleAPI/pom.xml package
3230

31+
# Only run dependency graph submission on push (not pull_request)
3332
- name: Submit Dependency Snapshot
33+
if: github.event_name == 'push'
3434
uses: advanced-security/maven-dependency-submission-action@v5
3535
with:
36-
directory: SimpleAPI # <-- tell the action where pom.xml is
36+
directory: SimpleAPI # path to pom.xml
3737
# optional: maven-args: "-DskipTests"

SimpleAPI/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
<dependency>
218218
<groupId>redis.clients</groupId>
219219
<artifactId>jedis</artifactId>
220-
<version>6.2.0</version>
220+
<version>7.0.0</version>
221221
</dependency>
222222
</dependencies>
223223
<profiles>

0 commit comments

Comments
 (0)