Skip to content

Commit d7c3ba9

Browse files
File sync from bmos/fg-workflows
1 parent e426e2d commit d7c3ba9

1 file changed

Lines changed: 7 additions & 21 deletions

File tree

.github/workflows/luacheck.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,18 @@ jobs:
3535
regex: '[A-Za-z]+:\s'
3636
replacement: ''
3737

38-
- id: shortenextname
38+
- id: removeapostrophes
3939
uses: ashley-taylor/regex-property-action@1.2
4040
with:
4141
value: ${{ steps.removenameprefix.outputs.value }}
42-
regex: ',.*'
43-
replacement: ''
44-
45-
- id: removenameparenthetical
46-
uses: ashley-taylor/regex-property-action@1.2
47-
with:
48-
value: ${{ steps.shortenextname.outputs.value }}
49-
regex: '\(.*\)'
42+
regex: "'"
5043
replacement: ''
5144

5245
- id: removenamepunctuation
5346
uses: ashley-taylor/regex-property-action@1.2
5447
with:
5548
value: ${{ steps.removenameparenthetical.outputs.value }}
56-
regex: '[^A-Za-z0-9]+'
49+
regex: '\W.*'
5750
replacement: ''
5851

5952
- id: namelowercase
@@ -78,25 +71,18 @@ jobs:
7871
regex: '[A-Za-z]+:\s'
7972
replacement: ''
8073

81-
- id: shortenauthorname
74+
- id: removeapostrophes
8275
uses: ashley-taylor/regex-property-action@1.2
8376
with:
8477
value: ${{ steps.removeauthorprefix.outputs.value }}
85-
regex: ',.*'
78+
regex: "'"
8679
replacement: ''
8780

88-
- id: removeauthorparenthetical
89-
uses: ashley-taylor/regex-property-action@1.2
90-
with:
91-
value: ${{ steps.shortenauthorname.outputs.value }}
92-
regex: '\(.*\)'
93-
replacement: ''
94-
95-
- id: removeauthorpunctuation
81+
- id: removenamepunctuation
9682
uses: ashley-taylor/regex-property-action@1.2
9783
with:
9884
value: ${{ steps.removeauthorparenthetical.outputs.value }}
99-
regex: '[^A-Za-z0-9]+'
85+
regex: '\W.*'
10086
replacement: ''
10187

10288
- id: authorlowercase

0 commit comments

Comments
 (0)