1 parent 4f40d2a commit 0a013ccCopy full SHA for 0a013cc
1 file changed
.github/workflows/code-formatting.yml
@@ -10,9 +10,7 @@ jobs:
10
- uses: actions/checkout@v2
11
with:
12
ref: ${{ github.event.pull_request.head.sha }}
13
- token: "${{secrets.ALIBUILD_GITHUB_TOKEN}}"
14
- env:
15
- GITHUB_TOKEN: ${{ secrets.ALIBUILD_GITHUB_TOKEN }}
+ persist-credentials: false
16
- name: Run clang format
17
id: clang_format
18
run: |
@@ -60,6 +58,8 @@ jobs:
60
58
echo "Opening a PR to your branch with the fixes"
61
59
git commit -m "Please consider the following formatting changes" -a
62
git show | cat
+ echo ${{ secrets.ALIBUILD_GITHUB_TOKEN }} | wc
+ echo $ALIBUILD_GITHUB_TOKEN | wc
63
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
64
echo ::set-output name=clean::false
65
fi
0 commit comments