Skip to content

Commit 9623080

Browse files
committed
Update PR sync script to skip redundant fetch and enforce cargo fmt check
1 parent eeb34bb commit 9623080

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Justfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ pr PR_NUMBER CMD:
3434
docker build --build-arg PR_NUMBER={{PR_NUMBER}} --build-arg GH_TOKEN=$(gh auth token) --target pr-tester -t git-ai-pr-tester .
3535
docker run -i --rm -e GITHUB_TOKEN=$(gh auth token) git-ai-pr-tester bash -c "{{CMD}}"
3636

37-
# Sync all open PRs with origin/main
38-
sync-prs:
39-
./scripts/sync-all-prs
40-
4137
# Sync a specific PR with origin/main
4238
sync-pr PR_NUM:
43-
just pr {{PR_NUM}} "git fetch origin main && git merge origin/main --no-edit && cargo fmt --all && cargo check && git push origin HEAD"
39+
just pr {{PR_NUM}} "git merge origin/main --no-edit && cargo fmt --check && cargo check && git push origin HEAD"

0 commit comments

Comments
 (0)