-
Notifications
You must be signed in to change notification settings - Fork 4
417 lines (402 loc) · 15.2 KB
/
main.yml
File metadata and controls
417 lines (402 loc) · 15.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
name: Update .luacheckrc
on:
push:
branches:
- 'main'
paths:
- '.luacheckrc_header'
- '.github/workflows/main.yml'
schedule:
- cron: '30 5,17 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
generate:
runs-on: ubuntu-latest
name: generate new .luacheckrc
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Rulesets
- name: Clone FG-Unofficial-Developers-Guild/CoreRPG
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/CoreRPG
path: .fg/rulesets/CoreRPG
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/2E
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/2E
path: .fg/rulesets/DND2E
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/3.5E
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/3.5E
path: .fg/rulesets/DND35E
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/4e
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/4e
path: .fg/rulesets/DND4E
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/5e
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/5e
path: .fg/rulesets/DND5E
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/PFRPG
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/PFRPG
path: .fg/rulesets/PFRPG
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/PFRPG2
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/PFRPG2
path: .fg/rulesets/PFRPG2
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/SFRPG
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/SFRPG
path: .fg/rulesets/SFRPG
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
# bmos extensions
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Encumbrance-Penalties
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Encumbrance-Penalties
path: .fg/extensions/FG-PFRPG-Encumbrance-Penalties
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Crit-and-Fumble-Tables
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Crit-and-Fumble-Tables
path: .fg/extensions/FG-PFRPG-Advanced-Crit-and-Fumble-Tables
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Effects
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Effects
path: .fg/extensions/FG-PFRPG-Advanced-Effects
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Drain-and-Permanent-Bonuses
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Drain-and-Permanent-Bonuses
path: .fg/extensions/FG-PFRPG-Drain-and-Permanent-Bonuses
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-FG-CoreRPG-Extraplanar-Containers
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-CoreRPG-Extraplanar-Containers
path: .fg/extensions/FG-CoreRPG-Extraplanar-Containers
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-CoreRPG-Coins-Weight
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-CoreRPG-Coins-Weight
path: .fg/extensions/FG-CoreRPG-Coins-Weight
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-Ammunition-Manager
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-Ammunition-Manager
path: .fg/extensions/FG-Ammunition-Manager
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Upgrade-NPC-Actions
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Upgrade-NPC-Actions
path: .fg/extensions/FG-PFRPG-Upgrade-NPC-Actions
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Spell-Formatting
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Spell-Formatting
path: .fg/extensions/FG-PFRPG-Spell-Formatting
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Spell-Failure
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Spell-Failure
path: .fg/extensions/FG-PFRPG-Spell-Failure
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Sanity-Tracker
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Sanity-Tracker
path: .fg/extensions/FG-PFRPG-Sanity-Tracker
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Malady-Tracker
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Malady-Tracker
path: .fg/extensions/FG-PFRPG-Malady-Tracker
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-HitMargins
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-HitMargins
path: .fg/extensions/FG-HitMargins
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Live-Hitpoints
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Live-Hitpoints
path: .fg/extensions/FG-PFRPG-Live-Hitpoints
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Item-Durability
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Item-Durability
path: .fg/extensions/FG-PFRPG-Item-Durability
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Extra-Stat-to-Saves
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Extra-Stat-to-Saves
path: .fg/extensions/FG-PFRPG-Extra-Stat-to-Saves
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-ExtendedACBonusTypes
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-ExtendedACBonusTypes
path: .fg/extensions/FG-PFRPG-ExtendedACBonusTypes
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Enhanced-Items
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Enhanced-Items
path: .fg/extensions/FG-PFRPG-Enhanced-Items
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Customized-Item-Generator
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Customized-Item-Generator
path: .fg/extensions/FG-PFRPG-Customized-Item-Generator
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Item-Actions
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-PFRPG-Advanced-Item-Actions
path: .fg/extensions/FG-PFRPG-Advanced-Item-Actions
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-CoreRPG-Party-Inventory-Weight
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-CoreRPG-Party-Inventory-Weight
path: .fg/extensions/FG-CoreRPG-Party-Inventory-Weight
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-CoreRPG-Party-Inventory-Identified
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-CoreRPG-Party-Inventory-Identified
path: .fg/extensions/FG-CoreRPG-Party-Inventory-Identified
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-CoreRPG-Moon-Tracker
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-CoreRPG-Moon-Tracker
path: .fg/extensions/FG-CoreRPG-Moon-Tracker
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-Aura-Effect
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-Aura-Effect
path: .fg/extensions/FG-Aura-Effect
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-4E-TEMPO-and-TEMPA
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-4E-TEMPO-and-TEMPA
path: .fg/extensions/FG-4E-TEMPO-and-TEMPA
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-24-Hour-Clock
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-24-Hour-Clock
path: .fg/extensions/FG-24-Hour-Clock
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
# Other dev's extensions
- name: Clone Kelrugem/Extended-automation-and-overlays
uses: actions/checkout@v4
with:
repository: Kelrugem/Extended-automation-and-overlays
path: .fg/extensions/Extended-automation-and-overlays
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone FG-Unofficial-Developers-Guild/FG-ClockAdjuster
uses: actions/checkout@v4
with:
repository: FG-Unofficial-Developers-Guild/FG-ClockAdjuster
path: .fg/extensions/FG-ClockAdjuster
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/BetterCombatEffects
uses: actions/checkout@v4
with:
repository: rhagelstrom/BetterCombatEffects
path: .fg/extensions/BetterCombatEffects
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone MeAndUnique/SizeMatters
uses: actions/checkout@v4
with:
repository: MeAndUnique/SizeMatters
path: .fg/extensions/SizeMatters
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone MeAndUnique/TemporalFixation
uses: actions/checkout@v4
with:
repository: MeAndUnique/TemporalFixation
path: .fg/extensions/TemporalFixation
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone SirMotte/FGU-Theme-Hearth
uses: actions/checkout@v4
with:
repository: SirMotte/FGU-Theme-Hearth
path: .fg/extensions/FGU-Theme-Hearth
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/Turbo
uses: actions/checkout@v4
with:
repository: rhagelstrom/Turbo
path: .fg/extensions/Turbo
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/Contaminated
uses: actions/checkout@v4
with:
repository: rhagelstrom/Contaminated
path: .fg/extensions/Contaminated
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/FranklyNot
uses: actions/checkout@v4
with:
repository: rhagelstrom/FranklyNot
path: .fg/extensions/FranklyNot
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/PowerUp
uses: actions/checkout@v4
with:
repository: rhagelstrom/PowerUp
path: .fg/extensions/PowerUp
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/Exhausted
uses: actions/checkout@v4
with:
repository: rhagelstrom/Exhausted
path: .fg/extensions/Exhausted
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/ChatAestheticsConfigurator
uses: actions/checkout@v4
with:
repository: rhagelstrom/ChatAestheticsConfigurator
path: .fg/extensions/ChatAestheticsConfigurator
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/ArcaneWard
uses: actions/checkout@v4
with:
repository: rhagelstrom/ArcaneWard
path: .fg/extensions/ArcaneWard
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/EffectiveInitiative
uses: actions/checkout@v4
with:
repository: rhagelstrom/EffectiveInitiative
path: .fg/extensions/EffectiveInitiative
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/HighVariance
uses: actions/checkout@v4
with:
repository: rhagelstrom/HighVariance
path: .fg/extensions/HighVariance
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/Effective-NPC
uses: actions/checkout@v4
with:
repository: rhagelstrom/Effective-NPC
path: .fg/extensions/Effective-NPC
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/LifeLedger
uses: actions/checkout@v4
with:
repository: rhagelstrom/LifeLedger
path: .fg/extensions/LifeLedger
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
- name: Clone rhagelstrom/Pets
uses: actions/checkout@v4
with:
repository: rhagelstrom/Pets
path: .fg/extensions/Pets
fetch-depth: 0
token: ${{ secrets.ACTIONS }}
# Processing
- name: Generate new .luacheckrc
uses: FG-Unofficial-Developers-Guild/action-generate-luacheckrc@main
with:
std: '+dnd2e+dnd35e+dnd4e+dnd5e+pfrpg+pfrpg2+sfrpg'
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
title: Update .luacheckrc
commit-message: "The latest .luacheckrc config build from targeted repos."
branch: update-luacheckrc
delete-branch: true
token: ${{ secrets.ACTIONS }}