Skip to content

drivers: update submodules to latest 8.3 branch #45

drivers: update submodules to latest 8.3 branch

drivers: update submodules to latest 8.3 branch #45

name: Check drivers/README.md file
on:
pull_request:
paths:
- 'drivers/**'
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: recursive
persist-credentials: false
- name: Install rpm tools
run: sudo apt-get install -y rpm
- name: Generate drivers/README.md
run: ./scripts/update-drivers-list.sh
- name: Fail if README.md is not up to date
run: |
if ! git diff --exit-code drivers/README.md; then
echo "::error::drivers/README.md is out of date. Run drivers/update-drivers-list.sh and commit the result."
exit 1
fi