diff --git a/.github/workflows/code-path-changes.yml b/.github/workflows/code-path-changes.yml index 5927aae1ada..cbb1759eca8 100644 --- a/.github/workflows/code-path-changes.yml +++ b/.github/workflows/code-path-changes.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set up Node.js uses: actions/setup-node@v5 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index aaeb89e9815..b5f1541db4c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index 5fc6e48291f..b2d322208be 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 # Fetch all history for all branches ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5ef3998307b..769908cca9c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -16,7 +16,7 @@ jobs: node-version: '20' - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.base.sha }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5415d9e678..6948d3a62de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,14 +33,14 @@ jobs: - name: Checkout code (PR) id: checkout-pr if: ${{ github.event_name == 'pull_request_target' }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: refs/pull/${{ github.event.pull_request.number }}/head - name: Checkout code (push) id: checkout-push if: ${{ github.event_name == 'push' }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Commit info id: info