We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25b3ff4 commit 9c8ad9cCopy full SHA for 9c8ad9c
.github/workflows/checkstyle.yml
@@ -1,15 +1,11 @@
1
name: Code Formatter
2
3
-on:
4
- pull_request:
5
- push:
6
- branches:
7
- - master
+on: [push]
8
jobs:
9
format:
10
runs-on: ubuntu-latest
11
steps:
12
- - uses: actions/checkout@v2
+ - uses: actions/checkout@master
13
- uses: actions/setup-python@v2
14
- name: Set up JDK 12
15
uses: actions/setup-java@v1
@@ -24,5 +20,5 @@ jobs:
24
20
git config --global user.name github-actions
25
21
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
26
22
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
+ git push --force origin HEAD:$GITHUB_REF || true
0 commit comments