File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ WORKDIR /app
4343ARG GH_TOKEN
4444ENV GH_TOKEN=$GH_TOKEN
4545RUN gh repo clone oleander/git-ai /app
46+ RUN git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/oleander/git-ai.git
4647RUN cargo fetch
4748RUN cargo build
4849RUN cargo clippy
Original file line number Diff line number Diff line change @@ -35,5 +35,5 @@ pr PR_NUMBER CMD:
3535 docker run -i --rm -e GITHUB_TOKEN=$(gh auth token) git-ai-pr-tester bash -c " {{ CMD}} "
3636
3737# Sync a specific PR with origin/main
38- sync-pr PR_NUM :
39- just pr {{ PR_NUM}} " git merge origin/main --no-edit && cargo fmt --check && cargo check && git push origin"
38+ sync-pr PR_NUM CMD = " date " :
39+ just pr {{ PR_NUM}} " git merge origin/main --no-edit && {{ CMD }} && cargo fmt --check && cargo check && git push origin"
You can’t perform that action at this time.
0 commit comments