diff --git a/.github/workflows/qcom-preflight-checks.yml b/.github/workflows/qcom-preflight-checks.yml index f7046c3..1b9f565 100644 --- a/.github/workflows/qcom-preflight-checks.yml +++ b/.github/workflows/qcom-preflight-checks.yml @@ -1,4 +1,5 @@ name: Qualcomm Preflight Checks + on: pull_request_target: branches: @@ -13,18 +14,19 @@ on: workflow_dispatch: permissions: - contents: read - security-events: write + 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 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 + # ✅ Preflight Checkers + repolinter: true + semgrep: true + copyright-license-detector: true + pr-check-emails: true + dependency-review: true secrets: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + GH_PAT: ${{ secrets.MY_PAT }} # 👈 Add this line to pass your PAT diff --git a/ubuntu/build.py b/ubuntu/build.py index 02b8c60..0a006cd 100755 --- a/ubuntu/build.py +++ b/ubuntu/build.py @@ -223,7 +223,7 @@ def parse_arguments(): try: MANIFEST_MAP = generate_manifest_map(WORKSPACE_DIR) except Exception as e: - logger.error(f"Failed to generate manifest map: {e}") + logger.warning(f"Failed to generate manifest map: {e}") MANIFEST_MAP = {} # Build the kernel if specified