diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2655ece12..2b765d756 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,6 +40,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: actions/cache@v4 with: path: ~/.m2/repository diff --git a/.github/workflows/publish-snapshots.yml b/.github/workflows/publish-snapshots.yml index b7114b45c..7678b2338 100644 --- a/.github/workflows/publish-snapshots.yml +++ b/.github/workflows/publish-snapshots.yml @@ -31,6 +31,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - name: Cache Maven Repository uses: actions/cache@v4 with: