From 0aef3f651a8ef2068c2e786386c9a30dfa5e29c5 Mon Sep 17 00:00:00 2001 From: Nageswara Rao Bobba Date: Tue, 27 May 2025 14:33:23 +0530 Subject: [PATCH] Create audioreach-repolinter.yml Signed-off-by: Nageswara Rao Bobba --- .github/workflows/audioreach-repolinter.yml | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/audioreach-repolinter.yml diff --git a/.github/workflows/audioreach-repolinter.yml b/.github/workflows/audioreach-repolinter.yml new file mode 100644 index 0000000..847f4ac --- /dev/null +++ b/.github/workflows/audioreach-repolinter.yml @@ -0,0 +1,29 @@ +name: Audioreach Repolinter + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +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"