Skip to content

Commit 0a013cc

Browse files
authored
Update code-formatting.yml
1 parent 4f40d2a commit 0a013cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/code-formatting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
with:
1212
ref: ${{ github.event.pull_request.head.sha }}
13-
token: "${{secrets.ALIBUILD_GITHUB_TOKEN}}"
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.ALIBUILD_GITHUB_TOKEN }}
13+
persist-credentials: false
1614
- name: Run clang format
1715
id: clang_format
1816
run: |
@@ -60,6 +58,8 @@ jobs:
6058
echo "Opening a PR to your branch with the fixes"
6159
git commit -m "Please consider the following formatting changes" -a
6260
git show | cat
61+
echo ${{ secrets.ALIBUILD_GITHUB_TOKEN }} | wc
62+
echo $ALIBUILD_GITHUB_TOKEN | wc
6363
git push --set-upstream https://alibuild:${{ secrets.ALIBUILD_GITHUB_TOKEN }}@github.com/alibuild/AliceO2.git HEAD:refs/heads/alibot-cleanup-${{ github.event.pull_request.number }} -f
6464
echo ::set-output name=clean::false
6565
fi

0 commit comments

Comments
 (0)