diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index c74f273..59b6547 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -13,7 +13,9 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + with: + persist-credentials: false - uses: cpp-linter/cpp-linter-action@main id: linter continue-on-error: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f490ff9..d02ae62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,9 @@ jobs: re-tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: + persist-credentials: true # needed for `git push` fetch-depth: 0 ref: ${{ inputs.ref }} - name: Config git name and email diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index e6514e6..5403c48 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -39,7 +39,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + with: + persist-credentials: false - name: Cache the build artifacts id: cache-build