Skip to content

Commit e2c6ead

Browse files
authored
Update code-formatting.yml
1 parent 8c57553 commit e2c6ead

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/code-formatting.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
if [ "$RESULT_OUTPUT" == "no modified files to format" ] \
5151
|| [ "$RESULT_OUTPUT" == "clang-format did not modify any files" ] ; then
5252
echo "clang-format passed."
53-
git push --set-upstream origin :alibot-cleanup-${{ github.event.pull_request.number }} -f || true
53+
git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git :alibot-cleanup-${{ github.event.pull_request.number }} -f || true
5454
echo ::set-output name=clean::true
5555
else
5656
git-clang-format-8 --commit $BASE_COMMIT \
@@ -63,8 +63,6 @@ jobs:
6363
echo "Opening a PR to your branch with the fixes"
6464
git commit -m "Please consider the following formatting changes" -a
6565
git show | cat
66-
echo ${{ secrets.ALIBUILD_GITHUB_TOKEN }} | wc
67-
echo $ALIBUILD_GITHUB_TOKEN | wc
6866
git fetch --unshallow https://github.com/AliceO2Group/AliceO2.git pull/${{ github.event.pull_request.number }}/head
6967
git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git HEAD:refs/heads/alibot-cleanup-${{ github.event.pull_request.number }} -f
7068
echo ::set-output name=clean::false

0 commit comments

Comments
 (0)