{"id":34610134,"url":"https://github.com/qualcomm/.github","last_synced_at":"2025-12-24T14:07:10.162Z","repository":{"id":244829130,"uuid":"816391170","full_name":"qualcomm/.github","owner":"qualcomm","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-01T03:53:28.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T05:35:45.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qualcomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-17T16:46:25.000Z","updated_at":"2025-08-01T03:53:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dc624fc-c1de-4bda-92e6-32ad2a681e61","html_url":"https://github.com/qualcomm/.github","commit_stats":null,"previous_names":["qualcomm/.github"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qualcomm/.github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2F.github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2F.github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2F.github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2F.github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qualcomm","download_url":"https://codeload.github.com/qualcomm/.github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2F.github/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28003724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-24T14:05:55.658Z","updated_at":"2025-12-24T14:07:10.155Z","avatar_url":"https://github.com/qualcomm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qualcomm GitHub Organization\n\nThis repo contains workflow templates and other org level config and files\n\n## Qualcomm Preflight Checks\n\nQualcomm repos should enable **Qualcomm Preflight Checks** upon creation. This workflow runs several preflight checks, including copyight, email, repolinter, and security checks. See [qualcomm/qcom-actions](https://github.com/qualcomm/qcom-actions) for details.\n\n### Initial setup\n\n1. Navigate to the new repo\n1. Click on Actions\n1. If you have existing actions in the repo, click \"New workflow\", else skip to next step\n1. Locate the \"By Qualcomm Technologies, Inc.\" section and click \"Configure\" under \"Qualcomm Preflight Checks\"\n1. Click \"Commit changes...\", select \"Commit directly to the main branch\" (or feel free to create a new branch and start a PR), ensure your Qualcomm email is selected under \"Commit Email\", and then click \"Sign off and commit changes\"\n1. This will create a GitHub Action config file in your repo under the path `.github/workflows/qcom-preflight-checks.yml`\n1. See [qualcomm/qcom-actions](https://github.com/qualcomm/qcom-actions) for more information and how to disable checks.\n\n### Repolinter Check: Customize Rules\n\n\u003e The `qcom-preflight-checks` workflow includes the Repolinter check.\n\nWhen the Repolinter check runs, it first checks your Qualcomm repo for a local `repolint.json` file at the root directory. If it doesn't find one it'll use the default Qualcomm Repolinter ruleset, which is located here https://github.com/qualcomm/.github/blob/main/repolint.json\n\nTo customize the default Qualcomm Repolinter ruleset (e.g. to add some language specific file extensions for the license check), you can extend the default ruleset and override specific rules. In other cases you may have to copy the ruleset locally and edit as needed. See below for examples.\n\n#### Exclude directories or files from the source file header check\n\nFor example, if we wanted to exclude the copyright/license check for a directory e.g. `/test-data` from Repolinter, we can extend the ruleset as we are adding additional rules.\n\n1. Create the file `repolint.json` at the root of your project\n1. \"Extend\" the Qualcomm repolint.json file\n\n```json\n{\n  \"extends\": \"https://raw.githubusercontent.com/qualcomm/.github/main/repolint.json\",\n  \"rules\": {}\n}\n```\n\n3. Copy the rule block you need to adjust from `https://raw.githubusercontent.com/qualcomm/.github/main/repolint.json`. E.g. in this case we want to exclude `/test-data` from the license header check. So let's copy the json block `source-license-headers-exist` and paste it into the `rules` section of the local `repolint.json` we extended\n1. Now lets add the `test-data` directory to the list of patterns to skip/exclude from being checked\n\n```json\n{\n  \"extends\": \"https://raw.githubusercontent.com/qualcomm/.github/main/repolint.json\",\n  \"rules\": {\n    \"source-license-headers-exist\": {\n      \"level\": \"error\",\n      \"rule\": {\n        \"type\": \"file-starts-with\",\n        \"options\": {\n          \"globsAll\": [\n            \"**/*.py\",\n            \"**/*.js\",\n            \"**/*.c\",\n            \"**/*.cc\",\n            \"**/*.cpp\",\n            \"**/*.h\",\n            \"**/*.ts\",\n            \"**/*.sh\",\n            \"**/*.rs\",\n            \"**/*.java\",\n            \"**/*.go\",\n            \"**/*.bbclass\",\n            \"**/*.S\"\n          ],\n          \"skip-paths-matching\": {\n            \"patterns\": [\n              \"babel.config.js\",\n              \"build\\/\",\n              \"jest.config.js\",\n              \"node_modules\\/\",\n              \"types\\/\",\n              \"uthash.h\",\n              \"test-data\\/\"\n            ]\n          },\n          \"lineCount\": 60,\n          \"patterns\": [\n            \"(Copyright|©).*Qualcomm Innovation Center, Inc|Qualcomm Technologies, Inc|Copyright (\\\\(c\\\\)|©) (20(1[2-9]|2[0-2])(-|,|\\\\s)*)+ The Linux Foundation\",\n            \"SPDX-License-Identifier|Redistribution and use in source and binary forms, with or without\"\n          ],\n          \"flags\": \"i\"\n        }\n      }\n    }\n  }\n}\n```\n\n#### Include only specific directories or files in the source file header check\n\nFor example, to only check `.c` files in a specific directory (e.g., `/src`) in the copyright/license check using Repolinter, we cannot extend and must instead replace the ruleset and edit it as necessary.\n\n1. Copy the default Qualcomm [repolint.json](https://raw.githubusercontent.com/qualcomm/.github/main/repolint.json) ruleset to the root of your project\n2. Find the relevant rule to edit. In this example, we are going to edit the `source-license-headers-exist` rule and replace the `globsAll` property to only `.c` files in the `/src` directory.\n\n```json\n[...]\n    \"source-license-headers-exist\": {\n      \"level\": \"error\",\n      \"rule\": {\n        \"type\": \"file-starts-with\",\n        \"options\": {\n          \"globsAll\": [\n            \"src/**/*.c\"\n          ],\n          \"skip-paths-matching\": {\n            \"patterns\": []\n          },\n          \"lineCount\": 60,\n          \"patterns\": [\n            \"(Copyright|©).*Qualcomm Innovation Center, Inc|Qualcomm Technologies, Inc|Copyright (\\\\(c\\\\)|©) (20(1[2-9]|2[0-2])(-|,|\\\\s)*)+ The Linux Foundation\",\n            \"SPDX-License-Identifier|Redistribution and use in source and binary forms, with or without\"\n          ],\n          \"flags\": \"i\"\n        }\n      }\n    },\n[...]    \n```\n\n3. For more information on Repolinter rules and options, see [Repolinter rules](https://github.com/todogroup/repolinter/blob/main/docs/rules.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2F.github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqualcomm%2F.github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2F.github/lists"}