Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
[수정] 명령어 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
x-0o0 committed Jan 3, 2024
1 parent 83fe0f1 commit a6579cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/GUARD_COMMITS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

TARGET_FILES=("swift-cinema/Sources/CinemaUI/MovieList.swift" "swift-cinema/Sources/CinemaUI/MovieRow.swift" "swift-cinema/Sources/CinemaUI/SubmissionDetailView.swift" "swift-cinema/Sources/Fetcher/Responses.swift" "swift-cinema/Tests/FetcherTests/MovieCollectionFetcherTests.swift" ".github/workflows/REVIEW_CODE.yml")

FIRST_COMMIT=$(git rev-list --max-parents=0 HEAD)
CURRENT_BRANCH_COMMIT=$(git rev-list -n 1 HEAD)

CHANGED_FILES=$(git diff --name-only -W $FIRST_COMMIT HEAD)
FIRST_COMMIT=$(git rev-list --max-parents=0 main)

CHANGED_FILES=$(git diff --name-only -W $FIRST_COMMIT $CURRENT_BRANCH_COMMIT)

MODIFIED_TARGET_FILES=()
for TARGET_FILE in "${TARGET_FILES[@]}"; do
Expand Down

0 comments on commit a6579cd

Please sign in to comment.