Skip to content

Commit 932bd56

Browse files
committed
Reduce verbosibility of copybara log.
Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent 1a77e59 commit 932bd56

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/copybara-pr.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
git config --global user.email "[email protected]"
2121
git config --global user.name "ConnectorIO Bot"
2222
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "ssh://[email protected]:"
23-
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "ssh://[email protected]:"
23+
git config --global url."https://${BUILD_USER}:${BUILD_TOKEN}@github.com/".insteadOf "git://[email protected]:"
2424
env:
2525
BUILD_USER: x-access-token
2626
BUILD_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -35,15 +35,17 @@ jobs:
3535
path: bazel-bin/java/com/google/copybara/copybara_deploy.jar
3636
key: copybara
3737
- name: Call copybara
38+
# removed section
39+
# git config -l --global
40+
# echo $PATH
41+
# command -v git
42+
# export GIT_CURL_VERBOSE=1
43+
# export GIT_SSH_COMMAND=""
44+
# and copybara option --git-destination-url="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/code-house/maven-git-release-test.git" \
3845
run: |
39-
git config -l --global
40-
echo $PATH
41-
command -v git
42-
export GIT_CURL_VERBOSE=1
4346
export GIT_SSH_COMMAND=""
4447
java -jar bazel-bin/java/com/google/copybara/copybara_deploy.jar \
4548
migrate .github/copy.bara.sky 3.1.x \
4649
${{ github.event.pull_request.number }} \
4750
--git-destination-url="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/code-house/maven-git-release-test.git" \
48-
--last-rev ${{ github.event.pull_request.base.sha }} \
49-
--verbose
51+
--last-rev ${{ github.event.pull_request.base.sha }}

0 commit comments

Comments
 (0)