From e521699f49d30996f99e04e09ffca5c88e5111cf Mon Sep 17 00:00:00 2001 From: nmfretz Date: Fri, 19 Jun 2026 10:37:25 +1000 Subject: [PATCH] Fetch lint base from trusted checkout --- .github/workflows/lint-apps.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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