Skip to content

Commit 831a06a

Browse files
quic-nwtnandrom3da
authored andcommitted
Create quic-organization-repolinter.yml
Signed-off-by: quic-nwtn <[email protected]>
1 parent 0ccaf05 commit 831a06a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+

0 commit comments

Comments
 (0)