From 9b3d6300bc72b8430da128383e6f29e11da882b7 Mon Sep 17 00:00:00 2001 From: ffrancis Date: Wed, 24 Sep 2025 12:18:49 +0530 Subject: [PATCH] CI: Replace repolinter with qcom-preflight-checks workflow Use centralized qcom-preflight-checks from audioreach-workflows repository to ensure consistent and simplify maintenance. Update default behavior to disable semgrep as this is a documentation repository. Signed-off-by: ffrancis --- .github/workflows/audioreach-repolinter.yml | 29 --------------------- .github/workflows/qcom-preflight-checks.yml | 17 ++++++++++++ 2 files changed, 17 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/audioreach-repolinter.yml create mode 100644 .github/workflows/qcom-preflight-checks.yml diff --git a/.github/workflows/audioreach-repolinter.yml b/.github/workflows/audioreach-repolinter.yml deleted file mode 100644 index 323f590..0000000 --- a/.github/workflows/audioreach-repolinter.yml +++ /dev/null @@ -1,29 +0,0 @@ -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" diff --git a/.github/workflows/qcom-preflight-checks.yml b/.github/workflows/qcom-preflight-checks.yml new file mode 100644 index 0000000..062d613 --- /dev/null +++ b/.github/workflows/qcom-preflight-checks.yml @@ -0,0 +1,17 @@ +name: Qualcomm Preflight Checks + +on: + pull_request_target: + branches: [ master ] + push: + branches: [ master ] + workflow_dispatch: + +permissions: + contents: read + security-events: write + +jobs: + qcom-preflight-checks: + uses: Audioreach/audioreach-workflows/.github/workflows/qcom-preflight-checks.yml@master + semgrep: false