EK Perfecto
ActionsAction for checking RPM spec files with perfecto.
Create file .github/workflows/perfecto.yml.
Add next code to it:
name: CI
on:
push:
branches: [master, develop]
pull_request:
branches: [master]
jobs:
Perfecto:
name: Perfecto
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Check specs with Perfecto
uses: essentialkaos/perfecto-action@v2
with:
ignore: PF2,PF12
files: myapp.spec
| Option | Description | Value |
|---|---|---|
files |
One or more files to check | Path to spec files |
format |
Output format | github (Default)summarytinyshort |
error-level |
Return non-zero exit code if alert level greater than given | noticewarningerrorcritical |
ignore |
Disable one or more checks by their ID | Check ID |
image |
Container image with perfecto | ghcr.io/essentialkaos/perfecto:micro (Default) |
engine |
Container engine | docker (Default)podman |
EK Perfecto is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.