Skip to content

Trim linux headers to LTS kernel versions for 4.x and 5.x and include new LTS versions for 6.x kernels. #3363

Trim linux headers to LTS kernel versions for 4.x and 5.x and include new LTS versions for 6.x kernels.

Trim linux headers to LTS kernel versions for 4.x and 5.x and include new LTS versions for 6.x kernels. #3363

---
name: 'filename-linter'
on:
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
jobs:
check-files-changed:
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
filters: |
private:
- '**/*private*/**'
- '**/*private*'
- name: Fail on private
if: ${{ steps.changes.outputs.private == 'true' }}
run: echo "This repo disallows dirnames or filenames with 'private' in it." && exit 1