We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a974154 commit c22700eCopy full SHA for c22700e
google-auth-library-java/.github/workflows/formatting.yaml
@@ -0,0 +1,25 @@
1
+on:
2
+ pull_request_target:
3
+ types: [opened, synchronize]
4
+ branches:
5
+ - master
6
+name: format
7
+jobs:
8
+ format-code:
9
+ runs-on: ubuntu-latest
10
+ env:
11
+ ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ ref: ${{github.event.pull_request.head.ref}}
16
+ repository: ${{github.event.pull_request.head.repo.full_name}}
17
+ - uses: actions/setup-java@v1
18
19
+ java-version: 11
20
+ - run: "mvn com.coveo:fmt-maven-plugin:format"
21
+ - uses: googleapis/code-suggester@v1.8.0 # takes the changes from git directory
22
23
+ command: review
24
+ pull_number: ${{ github.event.pull_request.number }}
25
+ git_dir: '.'
0 commit comments