diff --git a/.github/workflows/test_and_docs.yml b/.github/workflows/test_and_docs.yml index fecd6b3ee60..e643406fc02 100644 --- a/.github/workflows/test_and_docs.yml +++ b/.github/workflows/test_and_docs.yml @@ -60,13 +60,13 @@ jobs: sudo apt-get install -y lcov - name: Checkout repository (pull_request_target via workflow_call) if: ${{ github.event_name == 'pull_request_target' }} - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.head_ref || github.event.pull_request.head.ref || github.ref }} repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} - name: Checkout repository if: ${{ github.event_name != 'pull_request_target' }} - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Execute Unit Tests with Coverage Analysis run: | python ./scripts/quality_runners.py @@ -191,7 +191,7 @@ jobs: echo "gh-pages branch exists. Skipping creation." fi - name: Checkout repository - uses: actions/checkout@v4.2.2 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Download documentation artifact uses: actions/download-artifact@v4.1.8 with: