diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 81fb255578f2f..b37411cf63f5f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -28,7 +28,7 @@ jobs: sudo apt update sudo apt install python3 gn pipx pipx install pre-commit - - name: Checkout files + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0e7b9cbd2672f..33eaede3d8b99 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -39,10 +39,8 @@ jobs: ) timeout-minutes: 10 steps: - - name: Checkout files + - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 1 - name: Remove runtest if exists if: github.event_name == 'pull_request' continue-on-error: true # Ignore this step if we cannot remove the label. @@ -85,10 +83,8 @@ jobs: needs: [initialize] runs-on: [self-hosted, chrobalt-linux-runner] steps: - - name: Checkout files + - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 1 # Handle GitHub registry used for everything other than pull requests off forked repos. - name: Login to GitHub Docker Registry if: ${{ (github.event_name != 'pull_request') || (github.event.pull_request.head.repo.full_name == github.repository) }}