File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,18 @@ name: EditorConfig
15
15
# Start the job on all push #
16
16
# ############################
17
17
on :
18
- push :
19
- branches-ignore : [main]
20
18
pull_request :
21
- branches : [main]
19
+
20
+ permissions :
21
+ contents : read
22
22
23
23
# ##############
24
24
# Set the Job #
25
25
# ##############
26
26
jobs :
27
27
lint-editorconfig :
28
28
runs-on : ubuntu-latest
29
+ timeout-minutes : 10
29
30
name : Lint for editorconfig violations
30
31
steps :
31
32
- name : Checkout the repository
Original file line number Diff line number Diff line change 1
1
name : Check Markdown links
2
2
3
3
on :
4
- push :
5
- branches-ignore : [main]
6
4
pull_request :
7
- branches : [main]
5
+
6
+ permissions :
7
+ contents : read
8
8
9
9
jobs :
10
10
markdown-link-check :
11
11
runs-on : ubuntu-latest
12
+ timeout-minutes : 10
12
13
steps :
13
14
- uses : actions/checkout@main
14
15
- uses : gaurav-nelson/github-action-markdown-link-check@v1
15
16
with :
16
- base-branch : ' main'
17
+ base-branch : ' main'
Original file line number Diff line number Diff line change 1
1
name : Validate JSON
2
2
3
3
on :
4
- push :
5
- branches-ignore : [main]
6
- # Remove the line above to run when pushing to master
7
4
pull_request :
8
- branches : [main]
5
+
6
+ permissions :
7
+ contents : read
9
8
10
9
jobs :
11
10
build :
14
13
15
14
runs-on : ubuntu-latest
16
15
16
+ timeout-minutes : 10
17
+
17
18
steps :
18
19
- uses : actions/checkout@v2
19
20
- name : Set up Python 3.6
You can’t perform that action at this time.
0 commit comments