diff --git a/.github/workflows/lint-apps.yml b/.github/workflows/lint-apps.yml index 4abd6cd15..26b8cf5b2 100644 --- a/.github/workflows/lint-apps.yml +++ b/.github/workflows/lint-apps.yml @@ -38,8 +38,8 @@ jobs: path: submission fetch-depth: 0 persist-credentials: false - - name: Fetch base branch for diff - run: git fetch --no-tags --depth=1 https://github.com/${{ github.repository }}.git "${{ github.base_ref }}:refs/remotes/base/${{ github.base_ref }}" + - name: Fetch trusted base branch for diff + run: git fetch --no-tags --depth=1 ../trusted "HEAD:refs/remotes/base/${{ github.base_ref }}" working-directory: submission - name: Lint changed apps run: node .tools/lint-apps.mjs --root ../submission --changed "base/${{ github.base_ref }}...HEAD" --check-images --format github