Skip to content

kernel/user partition, Phase 5 part 2: mic privacy state without the notifier #19063

kernel/user partition, Phase 5 part 2: mic privacy state without the notifier

kernel/user partition, Phase 5 part 2: mic privacy state without the notifier #19063

Workflow file for this run

---
# SPDX-License-Identifier: BSD-3-Clause
# Tools that can save round-trips to github and a lot of time:
#
# yamllint -f parsable this.yml
# pip3 install ruamel.yaml.cmd
# yaml merge-expand this.yml exp.yml && diff -w -u this.yml exp.yml
#
# github.com also has a powerful web editor that can be used without
# committing.
name: codestyle
# yamllint disable-line rule:truthy
on: [pull_request, workflow_call, workflow_dispatch]
permissions:
contents: read
# Group workflows together to cancel outdated runs, do not cancel manual runs
concurrency:
group: "${{ github.workflow }}-${{ github.event_name }}-\
${{ github.event_name == 'pull_request' && github.ref || github.run_id }}"
cancel-in-progress: true
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
filter: 'tree:0'
- name: run yamllint
# Quoting to please all parsers is hard. This indirection helps.
env:
yamllint_config: '{extends: default, rules: {line-length: {max: 100}}}'
run: yamllint -f parsable
-d "$yamllint_config"
--strict .github/workflows/*.yml *.yml
kernel-includes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
filter: 'tree:0'
- name: no kernel-only headers in user-space code
# see scripts/check_kernel_includes.py
run: python3 scripts/check_kernel_includes.py --sources --strict