From f7da84ad3589d45cfb8d9332af4b04b15236f44a Mon Sep 17 00:00:00 2001 From: Chris <61153610+ChristopherProject@users.noreply.github.com> Date: Sat, 16 May 2026 01:50:51 +0000 Subject: [PATCH 1/2] Fix GitHub Actions deprecation and dependency snapshot 403 - Bump actions/setup-java from v3 to v4 to drop the deprecated set-output command. - Bump advanced-security/maven-dependency-submission-action to v4. - Grant the build job contents: write so the Dependency Submission API call no longer fails with "Resource not accessible by integration". --- .github/workflows/maven.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9a5774e..d6a496a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -19,10 +19,13 @@ jobs: runs-on: ubuntu-latest + permissions: + contents: write + steps: - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '11' distribution: 'temurin' @@ -32,4 +35,4 @@ jobs: # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph - uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 + uses: advanced-security/maven-dependency-submission-action@v4 From 88b82070612c0a3ff4370cce3d434945d2b63275 Mon Sep 17 00:00:00 2001 From: Chris <61153610+ChristopherProject@users.noreply.github.com> Date: Sat, 16 May 2026 01:50:52 +0000 Subject: [PATCH 2/2] Ignore Maven target/ build output --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/