diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index b1bccfc61ca..db21fb99d36 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@v4 + uses: actions/checkout@v5 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 099209da6e6..ebc4c4d48bf 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@v4 + uses: actions/checkout@v5 with: ref: ${{ env.BRANCH_HEAD }} fetch-depth: 0 # needed to get the full history