Skip to content

ci: add bitbake-lint workflow for pull requests#2668

Open
Igor Opaniuk (igoropaniuk) wants to merge 1 commit into
qualcomm-linux:masterfrom
igoropaniuk:ci/bitbake-lint
Open

ci: add bitbake-lint workflow for pull requests#2668
Igor Opaniuk (igoropaniuk) wants to merge 1 commit into
qualcomm-linux:masterfrom
igoropaniuk:ci/bitbake-lint

Conversation

@igoropaniuk

Copy link
Copy Markdown
Contributor

Add a Bitbake Lint GitHub Actions workflow using
qualcomm-linux/bitbake-lint-action to catch recipe/metadata issues on pull requests.

Fine-tuning:

  • paths filter: only run on bitbake metadata changes (*.bb, *.bbappend, *.bbclass, *.inc, *.conf) to skip doc/CI-only PRs
  • diff_only: lint only files touched in the PR diff
  • release: wrynose, matching LAYERSERIES_COMPAT_qcom
  • hide info: drop info-severity noise
  • mode fast: quick per-PR feedback
  • exit_zero: advisory rollout, findings annotate but do not block merge
  • permissions: pull-requests/checks write for inline diff annotations

Comment thread .github/workflows/bitbake-lint.yml Outdated
Comment thread .github/workflows/bitbake-lint.yml
Comment thread .github/workflows/bitbake-lint.yml Outdated
Add a Bitbake Lint GitHub Actions workflow using
qualcomm-linux/bitbake-lint-action to catch recipe/metadata issues
on pull requests.

Fine-tuning:
- paths filter: only run on bitbake metadata changes
  (*.bb, *.bbappend, *.bbclass, *.inc, *.conf) to skip doc/CI-only PRs
- diff_only: lint only files touched in the PR diff
- release:  infer the Yocto release from LAYERSERIES_COMPAT_qcom
  in conf/layer.conf
- hide info: drop info-severity noise
- mode fast: quick per-PR feedback
- exit_zero: advisory rollout, findings annotate but do not block merge
- permissions: pull-requests/checks write for inline diff annotations

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
@ricardosalveti

Copy link
Copy Markdown
Contributor

Igor Opaniuk (@igoropaniuk) care to propose to meta-qcom-3rdparty as well? I would like to validate this a bit before we merge in meta-qcom, which has a lot more traffic.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit 8ddb65f

nodistro
Pass: 10 | Fail: 0 | Total: 10
qcom-distro_linux-qcom-6.18
Pass: 228 | Fail: 0 | Total: 255
qcom-distro
Pass: 263 | Fail: 4 | Total: 304

@igoropaniuk

Copy link
Copy Markdown
Contributor Author

Ricardo Salveti (@ricardosalveti) sure, qualcomm-linux/meta-qcom-3rdparty#49
I've also dropped fast mode, so it's going to be a bit more verbose

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Test run workflow

Test jobs for commit c43247c

nodistro
Pass: 10 | Fail: 0 | Total: 10
qcom-distro_linux-qcom-6.18
Pass: 7 | Fail: 1 | Total: 8
qcom-distro
Pass: 267 | Fail: 0 | Total: 295

@test-reporting-app

Copy link
Copy Markdown

Test Results

   72 files    368 suites   6h 27m 50s ⏱️
  161 tests   140 ✅  2 💤 19 ❌
3 480 runs  3 418 ✅ 28 💤 34 ❌

For more details on these failures, see this check.

Results for commit c43247c.

Comment thread .github/workflows/bitbake-lint.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants