diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 06b6aa0..c16837a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,11 +14,12 @@ on: pull_request: branches: [ "main" ] +permissions: + contents: write + jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -32,4 +33,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