Skip to content

Commit

Permalink
fix: fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Oct 30, 2023
1 parent cbbebbd commit 5248737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:

- name: Get Modified files
run: |
git fetch origin main:main
current_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$current_branch" == "main" ] || [ "$current_branch" == "master" ]; then
files=$(git diff --name-only HEAD^ HEAD)
Expand Down

0 comments on commit 5248737

Please sign in to comment.