diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index d086435..e52ab78 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -20,6 +20,7 @@ jobs: - uses: actions/checkout@v4 with: ref: refs/tags/${{ steps.release.outputs.tag_name }} + persist-credentials: false if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v1 diff --git a/.github/workflows/test-gha.yaml b/.github/workflows/test-gha.yaml index 3816fc5..fcca76a 100644 --- a/.github/workflows/test-gha.yaml +++ b/.github/workflows/test-gha.yaml @@ -28,6 +28,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.ref }} + persist-credentials: false - uses: actions/setup-node@v1 with: