Skip to content

Commit

Permalink
Add fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Aug 3, 2023
1 parent 70f83b5 commit 70e4d57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
# Fetch the full history so that the `git diff` command can be used
fetch-depth: 2
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -35,7 +37,7 @@ jobs:
run: |
source .env
# Build a fresh infra images if this PR includes changes to the
# Build fresh infra images if this PR includes changes to the
# /services directory.
SERVICES_CHANGED=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep -m 1 "^services/")
Expand Down

0 comments on commit 70e4d57

Please sign in to comment.