File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : QuIC Organization Repolinter
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ repolinter :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout Repo
15
+ uses : actions/checkout@v2
16
+ - name : Verify repolinter config file is present
17
+ id : check_files
18
+ uses : andstor/file-existence-action@v1
19
+ with :
20
+ files : " repolint.json"
21
+ - name : Run Repolinter with local repolint.json
22
+ if : steps.check_files.outputs.files_exists == 'true'
23
+ uses : todogroup/repolinter-action@v1
24
+ with :
25
+ config_file : " repolint.json"
26
+ - name : Run Repolinter with default ruleset
27
+ if : steps.check_files.outputs.files_exists == 'false'
28
+ uses : todogroup/repolinter-action@v1
29
+ with :
30
+ config_url : " https://raw.githubusercontent.com/quic/.github/main/repolint.json"
31
+
You can’t perform that action at this time.
0 commit comments