File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 11name : Code Formatter
22
3- on :
4- pull_request :
5- push :
6- branches :
7- - master
3+ on : [push]
84jobs :
95 format :
106 runs-on : ubuntu-latest
117 steps :
12- - uses : actions/checkout@v2
8+ - uses : actions/checkout@master
139 - uses : actions/setup-python@v2
1410 - name : Set up JDK 12
1511 uses : actions/setup-java@v1
2420 git config --global user.name github-actions
2521 git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
2622 git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
27- git commit -am "Formatted with Google Java Formatter"
28- git push --force origin HEAD:$GITHUB_REF
23+ git commit -am "Formatted with Google Java Formatter" || true
24+ git push --force origin HEAD:$GITHUB_REF || true
You can’t perform that action at this time.
0 commit comments