Skip to content

Fix GitHub Actions deprecation and dependency snapshot 403#2

Merged
ChristopherProject merged 2 commits into
masterfrom
nextgen
May 16, 2026
Merged

Fix GitHub Actions deprecation and dependency snapshot 403#2
ChristopherProject merged 2 commits into
masterfrom
nextgen

Conversation

@ChristopherProject
Copy link
Copy Markdown
Owner

@ChristopherProject ChristopherProject commented May 16, 2026

Summary

  • Bump actions/setup-java from v3 to v4 to drop the deprecated set-output command warning.
  • Bump advanced-security/maven-dependency-submission-action from the pinned 1.1.0 SHA to v4.
  • Grant the build job permissions: contents: write so the Dependency Submission API call no longer fails with Resource not accessible by integration (403).
  • Add .gitignore to exclude the Maven target/ build output.

Test plan

  • mvn -B package builds successfully on Linux (ubuntu, JDK).
  • mvn -B dependency:tree resolves the JNA dependencies cleanly — same input the submission action consumes.

- 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".
@ChristopherProject ChristopherProject merged commit 5abdf49 into master May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant