Skip to content

fix: cleanup rpmlint workflow #7

fix: cleanup rpmlint workflow

fix: cleanup rpmlint workflow #7

Workflow file for this run

name: Lint packages
on:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- '**.txt'
push:
branches:
- main
paths-ignore:
- '**.md'
- '**.txt'
merge_group:
workflow_dispatch:
jobs:
rpmlint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Find spec files
run: |
SPECS=$(find ./ -type 'f' | grep "\.spec")
echo "SPECS=$SPECS" >> $GITHUB_ENV
- name: Run rpmlint
uses: EyeCantCU/[email protected]
with:
rpmfiles: ${{ env.SPECS }}