From 3e433ff00aef780284c4c15d78f418c9394ef618 Mon Sep 17 00:00:00 2001 From: sudeeshn Date: Thu, 26 Mar 2026 10:41:04 +0530 Subject: [PATCH] Updated preflight check yml file Signed-off-by: sudeeshn --- .github/workflows/qcom-preflight-checks.yml | 34 +++++++++++---------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/qcom-preflight-checks.yml b/.github/workflows/qcom-preflight-checks.yml index 063e09a..6fb957a 100644 --- a/.github/workflows/qcom-preflight-checks.yml +++ b/.github/workflows/qcom-preflight-checks.yml @@ -1,24 +1,26 @@ -name: Qualcomm Preflight Checks +name: QC Preflight Checks + on: - pull_request_target: + pull_request: branches: [ main ] push: branches: [ main ] workflow_dispatch: -permissions: - contents: read - security-events: write - jobs: - qcom-preflight-checks: - uses: qualcomm/qcom-reusable-workflows/.github/workflows/qcom-preflight-checks-reusable-workflow.yml@v1.1.4 + preflight: + name: Run QC Preflight Checks + uses: qualcomm/qcom-reusable-workflows/.github/workflows/reusable-qcom-preflight-checks-orchestrator.yml@v2 with: - # ✅ Preflight Checkers - repolinter: true # default: true - semgrep: true # default: true - copyright-license-detector: true # default: true - pr-check-emails: true # default: true - dependency-review: true # default: true - secrets: - SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + enable-semgrep-scan: true + enable-dependency-review: true + enable-repolinter-check: true + enable-copyright-license-check: true + enable-commit-email-check: true + enable-commit-msg-check: false + enable-armor-checkers: false + + permissions: + contents: read + security-events: write + \ No newline at end of file