Skip to content

Commit

Permalink
Add QuIC Repolinter check
Browse files Browse the repository at this point in the history
This GitHub Action runs Repoliner on push or pull requests to master. This should've been enabled when the project was first setup.

Signed-off-by: Mark Matyas <[email protected]>
  • Loading branch information
mynameistechno authored and quic-rneti committed Jun 24, 2024
1 parent cd63d93 commit 1c14c38
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/quic-organization-repolinter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: QuIC Organization Repolinter

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
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"

0 comments on commit 1c14c38

Please sign in to comment.