Skip to content

IMA hashes in LSM events #16298

IMA hashes in LSM events

IMA hashes in LSM events #16298

Workflow file for this run

name: Check pull request commits
on:
push:
pull_request:
jobs:
checkpatch:
runs-on: ubuntu-latest
# Skip the workflow for Renovate PRs.
# One issue checkpatch checks is whether the commit subject is not too long. Renovate commits tend to have long
# subjects for a reason (e.g. including the digest). Other checkpatch checks are either ignored or relevant only
# for BPF code, so it's fine to skip the entire workflow for Renovate PRs. If there are more checks added then we
# should revisit it (and maybe update cilium-checkpatch).
if: ${{ github.event.pull_request.user.login != 'cilium-renovate[bot]' }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Run checkpatch.pl
uses: docker://quay.io/cilium/cilium-checkpatch:2f0f4f512e795d5668ea4e7ef0ba85abc75eb225@sha256:f307bf0315954e8b8c31edc1864d949bf211b0c6522346359317d757b5a6cea0
with:
args: "-- --ignore PREFER_DEFINED_ATTRIBUTE_MACRO,C99_COMMENTS,OPEN_ENDED_LINE,PREFER_KERNEL_TYPES,REPEATED_WORD,SPDX_LICENSE_TAG,LONG_LINE,LONG_LINE_STRING,LONG_LINE_COMMENT,TRACE_PRINTK"