diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 25cdf9d..6d9e727 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -43,6 +43,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ inputs.ref || (github.event.number && format('refs/pull/{0}/merge', github.event.number)) }} + persist-credentials: false - name: Configure Build Matrix id: configure @@ -96,6 +97,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ inputs.ref || (github.event.number && format('refs/pull/{0}/merge', github.event.number)) }} + persist-credentials: false - name: Set Python version uses: actions/setup-python@v5 diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 4368757..00af996 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -32,6 +32,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ inputs.ref || github.ref }} + persist-credentials: false - name: Set Python version uses: actions/setup-python@v5