diff --git a/.github/workflows/main-pull-request-build.yml b/.github/workflows/main-pull-request-build.yml index 04410c1afa9..c0ed8b978c7 100644 --- a/.github/workflows/main-pull-request-build.yml +++ b/.github/workflows/main-pull-request-build.yml @@ -12,6 +12,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Set up JDK 17 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/main-push-build.yml b/.github/workflows/main-push-build.yml index 2dd12dcd7f3..1f0d9eef7f0 100644 --- a/.github/workflows/main-push-build.yml +++ b/.github/workflows/main-push-build.yml @@ -12,6 +12,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Set up JDK 17 uses: actions/setup-java@v4 with: