mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 13:27:46 +00:00
Fetch depth fix
This commit is contained in:
@@ -10,11 +10,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get diff of backend/*
|
- name: Get diff of backend/*
|
||||||
run: |
|
run: |
|
||||||
echo "Fetching base ref: ${{ github.base_ref }}"
|
echo "Fetching base ref: ${{ github.base_ref }}"
|
||||||
git fetch origin ${{ github.base_ref }}
|
|
||||||
|
|
||||||
echo "Generating diff for backend/ directory against 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
|
git diff --unified=0 "origin/${{ github.base_ref }}"...HEAD -- backend/ > diff.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user