mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 23:58:41 +00:00
fix(ci): preserve CodeQL PR checkout history and exclude non-shipped verifiers (#14385)
* fix(ci): preserve CodeQL PR checkout history and exclude non-shipped verifiers * test(ci): verify planCodeqlLanguages excludes non-shipped verifiers
This commit is contained in:
1 parent
79efc75a11
commit
42bbf33f2d
4 files changed
+41
-4
No files matched your search
@@ -6,6 +6,9 @@ on:
|
||||
paths-ignore:
|
||||
- "tests/**"
|
||||
- "scripts/fixtures/**"
|
||||
- "scripts/verify/**"
|
||||
- "scripts/verify-real-*.mjs"
|
||||
- "scripts/verify-*-client.mjs"
|
||||
- "**/*.test.*"
|
||||
- "**/*.fixture.*"
|
||||
- "**/test_*.py"
|
||||
@@ -20,6 +23,9 @@ on:
|
||||
paths-ignore:
|
||||
- "tests/**"
|
||||
- "scripts/fixtures/**"
|
||||
- "scripts/verify/**"
|
||||
- "scripts/verify-real-*.mjs"
|
||||
- "scripts/verify-*-client.mjs"
|
||||
- "**/*.test.*"
|
||||
- "**/*.fixture.*"
|
||||
- "**/test_*.py"
|
||||
@@ -55,7 +61,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
||||
with:
|
||||
fetch-depth: ${{ github.event_name == 'pull_request' && 0 || 1 }}
|
||||
# Keep the nonzero branch first: numeric 0 is falsy in Actions expressions.
|
||||
fetch-depth: ${{ github.event_name != 'pull_request' && 1 || 0 }}
|
||||
filter: blob:none
|
||||
sparse-checkout: |
|
||||
.nvmrc
|
||||
|
||||
Reference in new issue
Block a user