Skip to content

Commit 6fca0ba

Browse files
Aaron JonesAaron Jones
Aaron Jones
authored and
Aaron Jones
committed
Create quic-organization-repolinter.yml
Signed-off-by: Aaron Jones <[email protected]>
1 parent 16d1556 commit 6fca0ba

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: QuIC Organization Repolinter
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
repolinter:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repo
14+
uses: actions/checkout@v2
15+
- name: Verify repolinter config file is present
16+
id: check_files
17+
uses: andstor/file-existence-action@v1
18+
with:
19+
files: "repolint.json"
20+
- name: Run Repolinter with local repolint.json
21+
if: steps.check_files.outputs.files_exists == 'true'
22+
uses: newrelic/repolinter-action@v1
23+
- name: Run Repolinter with default ruleset
24+
if: steps.check_files.outputs.files_exists == 'false'
25+
uses: newrelic/repolinter-action@v1
26+
with:
27+
config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json"
28+

0 commit comments

Comments
 (0)