Skip to content

Commit

Permalink
ci(java): suggest formatting fixes (googleapis#267)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/346f0c97-f7ee-4d6b-a2e3-f15127c7a469/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: googleapis/synthtool@b65ef07
  • Loading branch information
yoshi-automation authored Oct 14, 2020
1 parent 1c0c129 commit 26d45d0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
25 changes: 25 additions & 0 deletions java-resourcemanager/.github/workflows/formatting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
pull_request_target:
types: [opened, synchronize]
branches:
- master
name: format
jobs:
format-code:
runs-on: ubuntu-latest
env:
ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: actions/setup-java@v1
with:
java-version: 11
- run: "mvn com.coveo:fmt-maven-plugin:format"
- uses: googleapis/code-suggester@v1.8.0
with:
command: review
pull_number: ${{ github.event.pull_request.number }}
git_dir: '.'
5 changes: 3 additions & 2 deletions java-resourcemanager/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-resourcemanager.git",
"sha": "78044dc3506ca5ea872906c1ae72cf4188f7a6e7"
"sha": "3a2d4890e2b80f6c69cd0aca7f642a9c5cd05a16"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b"
"sha": "b65ef07d99946d23e900ef2cc490274a16edd336"
}
}
],
Expand All @@ -26,6 +26,7 @@
".github/trusted-contribution.yml",
".github/workflows/auto-release.yaml",
".github/workflows/ci.yaml",
".github/workflows/formatting.yaml",
".github/workflows/samples.yaml",
".kokoro/build.bat",
".kokoro/build.sh",
Expand Down

0 comments on commit 26d45d0

Please sign in to comment.