File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2023 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : Apply Spotless
16+
17+ on :
18+ pull_request :
19+ workflow_dispatch :
20+
21+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
22+ jobs :
23+ spotlessApply :
24+ runs-on : ubuntu-latest
25+ timeout-minutes : 30
26+
27+ steps :
28+ - uses : actions/checkout@v3
29+
30+ - name : set up Java 11
31+ uses : actions/setup-java@v2
32+ with :
33+ distribution : ' adopt'
34+ java-version : ' 11'
35+
36+ - name : Apply spotless formatting
37+ run : ./scripts/format.sh
38+
39+ - uses : stefanzweifel/git-auto-commit-action@v4
40+ with :
41+ commit_message : 🤖 Apply Spotless
You can’t perform that action at this time.
0 commit comments