-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create quic-organization-repolinter.yml
Signed-off-by: quic-nwtn <[email protected]>
- Loading branch information
0 parents
commit dc6394e
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: QuIC Organization Repolinter | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
repolinter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Verify repolinter config file is present | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "repolint.json" | ||
- name: Run Repolinter with local repolint.json | ||
if: steps.check_files.outputs.files_exists == 'true' | ||
uses: todogroup/repolinter-action@v1 | ||
with: | ||
config_file: "repolint.json" | ||
- name: Run Repolinter with default ruleset | ||
if: steps.check_files.outputs.files_exists == 'false' | ||
uses: todogroup/repolinter-action@v1 | ||
with: | ||
config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" | ||
|