mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-28 00:09:48 +03:00
Fetch lint base from trusted checkout
This commit is contained in:
1 parent
8c63477d86
commit
e521699f49
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user