Fetch lint base from trusted checkout

This commit is contained in:
nmfretz committed 2026-06-19 10:37:25 +10:00
1 parent 8c63477d86
commit e521699f49
1 file changed
+2 -2
+2 -2
View File
@@ -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