Skip to content

Commit

Permalink
Create audioreach-repolinter.yml
Browse files Browse the repository at this point in the history
Signed-off-by: quic-aditrath <quic_aditrath@quicinc.com>
  • Loading branch information
quic-aditrath authored May 16, 2024
1 parent 3f095cb commit a72f3db
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/audioreach-repolinter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Audioreach Repolinter

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

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 a72f3db

Please sign in to comment.