Skip to content

Commit 4db724e

Browse files
committed
ci: add quic-organization-repolinter
Signed-off-by: Nicolas Dechesne <[email protected]>
1 parent 202a6ec commit 4db724e

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+
#
2+
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
3+
# SPDX-License-Identifier: BSD-3-Clause
4+
#
5+
6+
name: QuIC Organization Repolinter
7+
8+
on: [push, pull_request]
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)