From aabce0921114e0f7651db91b0d62a10ffac1a2eb Mon Sep 17 00:00:00 2001 From: Amit Kucheria Date: Tue, 18 Mar 2025 00:06:35 +0530 Subject: [PATCH] Create qualcomm-linux-organization-repolinter.yml Enable default repolinter for now Signed-off-by: Amit Kucheria --- ...qualcomm-linux-organization-repolinter.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/qualcomm-linux-organization-repolinter.yml diff --git a/.github/workflows/qualcomm-linux-organization-repolinter.yml b/.github/workflows/qualcomm-linux-organization-repolinter.yml new file mode 100644 index 0000000000000..ebf37e16b9912 --- /dev/null +++ b/.github/workflows/qualcomm-linux-organization-repolinter.yml @@ -0,0 +1,30 @@ +name: Qualcomm Linux Organization Repolinter + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + repolinter: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Verify repolinter config file is present + id: check_files + uses: andstor/file-existence-action@v3 + 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" +