Skip to content

Commit 98ac76a

Browse files
ci(java): suggest formatting fixes (#247)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/d01b2aaa-4513-43a1-ac0a-689f57cc5d30/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@b65ef07
1 parent 5924747 commit 98ac76a

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
19+
java-version: 11
20+
- run: "mvn com.coveo:fmt-maven-plugin:format"
21+
- uses: googleapis/code-suggester@v1.8.0
22+
with:
23+
command: review
24+
pull_number: ${{ github.event.pull_request.number }}
25+
git_dir: '.'

java-storage-nio/synth.metadata

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-storage-nio.git",
7-
"sha": "7ef62716548fb9deb8d90a7281197778a688d753"
7+
"sha": "b37fd31ad5343eb85d2b68d41052007f6e0e53ec"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b"
14+
"sha": "b65ef07d99946d23e900ef2cc490274a16edd336"
1515
}
1616
}
1717
],
@@ -26,6 +26,7 @@
2626
".github/trusted-contribution.yml",
2727
".github/workflows/auto-release.yaml",
2828
".github/workflows/ci.yaml",
29+
".github/workflows/formatting.yaml",
2930
".github/workflows/samples.yaml",
3031
".kokoro/build.bat",
3132
".kokoro/build.sh",

0 commit comments

Comments
 (0)