Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fetch depth fix

x032205f3a04f1a2f78
diff --git a/.github/workflows/check-non-re2-regex.yml b/.github/workflows/check-non-re2-regex.yml
index e9d69657bd..7b9059a04d 100644
--- a/.github/workflows/check-non-re2-regex.yml
+++ b/.github/workflows/check-non-re2-regex.yml
@@ -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