diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 904114f17..a83f5ad93 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -36,6 +36,8 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: @@ -94,6 +96,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false # Rustup will detect toolchain version and profile from rust-toolchain.toml # It will download and install the toolchain and components automatically diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e22288547..e2454c4bf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,6 +30,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fdd3d89fe..65b7d49aa 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,6 +24,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false - name: Install rstcheck and markdownlint run: | diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 643bb324c..d0626a2cb 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -22,6 +22,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false # Rustup will detect toolchain version and profile from rust-toolchain.toml # It will download and install the toolchain and components automatically diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 585c80891..0ed37d83a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 + persist-credentials: false - name: Setup Go uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v4.0.1