Commit ccd352f 1 parent db23b65 commit ccd352f Copy full SHA for ccd352f
File tree 2 files changed +19
-16
lines changed
2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Lint
2
3
3
- on :
4
- push :
5
- branches :
6
- - main
7
- pull_request :
8
- branches :
9
- - main
4
+ on : # yamllint disable-line rule:truthy
5
+ push : null
6
+ pull_request : null
7
+
8
+ permissions : {}
10
9
11
10
jobs :
12
- run-linters :
13
- name : Run linters
11
+ build :
12
+ name : Lint
14
13
runs-on : ubuntu-latest
15
14
15
+ permissions :
16
+ contents : read
17
+ packages : read
18
+ # To report GitHub Actions status checks
19
+ statuses : write
20
+
16
21
steps :
17
- - name : Check out Git repository
22
+ - name : Checkout code
18
23
uses : actions/checkout@v4
19
-
20
- - name : Set up Node.js
21
- uses : pnpm/action-setup@v4
22
24
with :
23
- run_install : true
25
+ # super-linter needs the full git history to get the
26
+ # list of files that changed across commits
27
+ fetch-depth : 0
24
28
25
29
- name : Super-linter
26
30
uses : super-linter/super-linter@v7.2.1 # x-release-please-version
Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ const operators = generateMapping()
65
65
export default operators
66
66
67
67
export function getOperatorId ( operatorConfig ) {
68
- // return operatorConfig.filename.replace(/^(dyn_illust_)(char_[\d]+)(_[\w]+)(|(_.+))$/g, '$2$3$4')
69
- return operatorConfig . fallback_name . replace ( / ^ ( c h a r _ [ \d ] + ) ( _ [ \w ] + ) ( _ .+ ) $ / g, '$1$2$3' )
68
+ return operatorConfig . filename . replace ( / ^ ( d y n _ i l l u s t _ ) ( c h a r _ [ \d ] + ) ( _ [ \w ] + ) ( | ( _ .+ ) ) $ / g, '$2$3$4' )
70
69
}
71
70
72
71
export const build = async ( namesToBuild ) => {
You can’t perform that action at this time.
0 commit comments