diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index e3859042a61..5e68ae7d853 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -23,7 +23,7 @@ jobs: steps: # Git Checkout - name: Checkout Code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: # Checkout the HEAD of the PR instead of the merge commit. ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/o2-linter.yml b/.github/workflows/o2-linter.yml index ebc4c4d48bf..00c710dbd5a 100644 --- a/.github/workflows/o2-linter.yml +++ b/.github/workflows/o2-linter.yml @@ -30,7 +30,7 @@ jobs: echo BRANCH_HEAD="$branch_head" >> "$GITHUB_ENV" echo BRANCH_BASE="$branch_base" >> "$GITHUB_ENV" - name: Checkout Code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ env.BRANCH_HEAD }} fetch-depth: 0 # needed to get the full history