File tree 1 file changed +0
-40
lines changed
1 file changed +0
-40
lines changed Original file line number Diff line number Diff line change 97
97
if : github.event.pull_request.head.repo.full_name != github.repository
98
98
run : ./gradlew ktlintCheck -q --no-daemon
99
99
100
- modulecheck :
101
-
102
- runs-on : ubuntu-latest
103
- if : github.actor != 'renovate[bot]'
104
- steps :
105
- - name : check out with token (used by forks)
106
- uses : actions/checkout@v3
107
- if : github.event.pull_request.head.repo.full_name != github.repository
108
-
109
- - name : check out with PAT (used by main repo)
110
- uses : actions/checkout@v3
111
- if : github.event.pull_request.head.repo.full_name == github.repository
112
- with :
113
- ref : ${{ github.event.pull_request.head.ref }}
114
- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
115
- fetch-depth : 0
116
-
117
- - name : Set up JDK
118
- uses : actions/setup-java@v3
119
- with :
120
- distribution : ' adopt'
121
- java-version : ' 11'
122
- cache : ' gradle'
123
-
124
- - name : ModuleCheck with auto-correct (used by main repo)
125
- if : github.event.pull_request.head.repo.full_name == github.repository
126
- run : ./gradlew moduleCheckAuto --no-daemon
127
-
128
- # If KtLint generated changes, commit and push those changes.
129
- - name : commit changes (used by main repo)
130
- if : github.event.pull_request.head.repo.full_name == github.repository
131
- uses : stefanzweifel/git-auto-commit-action@v4
132
- with :
133
- commit_message : Apply ModuleCheck fixes
134
- commit_options : ' --no-verify --signoff'
135
-
136
- - name : ModuleCheck check (used by forks)
137
- if : github.event.pull_request.head.repo.full_name != github.repository
138
- run : ./gradlew moduleCheck --no-daemon
139
-
140
100
versioning :
141
101
142
102
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments