diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1737c0a6..2d0fb4aa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -55,7 +55,8 @@ jobs: env: GH_TOKEN: ${{ github.token }} steps: - - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + - uses: t@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + fetch-depth: 0 - name: Set up default branch name id: default_branch run: echo "DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef -q '.defaultBranchRef.name')" >> $GITHUB_ENV