mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Fetch depth fix
This commit is contained in:
3
.github/workflows/check-non-re2-regex.yml
vendored
3
.github/workflows/check-non-re2-regex.yml
vendored
@@ -10,11 +10,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Get diff of backend/*
|
||||
run: |
|
||||
echo "Fetching base ref: ${{ github.base_ref }}"
|
||||
git fetch origin ${{ github.base_ref }}
|
||||
|
||||
echo "Generating diff for backend/ directory against origin/${{ github.base_ref }}"
|
||||
git diff --unified=0 "origin/${{ github.base_ref }}"...HEAD -- backend/ > diff.txt
|
||||
|
||||
Reference in New Issue
Block a user