File tree Expand file tree Collapse file tree 3 files changed +31
-23
lines changed Expand file tree Collapse file tree 3 files changed +31
-23
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ indent_style = space
8
8
insert_final_newline = true
9
9
trim_trailing_whitespace = true
10
10
11
- [* .{json} ]
11
+ [* .{json, yml } ]
12
12
tab_width = 2
13
13
indent_size = 2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ workflow_dispatch :
8
+
9
+ # Prevent all permissions from being set, just use the ones we need.
10
+ permissions :
11
+ contents : read
12
+
13
+ # Cancel in-progress runs on new commits.
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16
+ cancel-in-progress : true
17
+
18
+ jobs :
19
+ Format :
20
+ # Prevent running this on forks
21
+ if : github.repository_owner == 'zerodytrash'
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ - uses : actions/setup-node@v3
26
+ with :
27
+ node-version : ' lts/*'
28
+ cache : ' npm'
29
+ - run : npm ci
30
+ - run : npm run check-format
You can’t perform that action at this time.
0 commit comments