From a72f3dbe227497dd234de9368963c5bfeb023ea1 Mon Sep 17 00:00:00 2001 From: quic-aditrath Date: Thu, 16 May 2024 14:41:24 +0530 Subject: [PATCH] Create audioreach-repolinter.yml Signed-off-by: quic-aditrath --- .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..323f590 --- /dev/null +++ b/.github/workflows/audioreach-repolinter.yml @@ -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"