Skip to content

EK Perfecto

Actions
Action for checking RPM files with Perfecto
v2
Latest
Star (0)


Action for checking RPM spec files with perfecto.

Usage

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

Options

Option Description Value
files One or more files to check Path to spec files
format Output format github (Default)
summary
tiny
short
error-level Return non-zero exit code if alert level greater than given notice
warning
error
critical
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

License

Apache License, Version 2.0

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.

About

Action for checking RPM files with Perfecto
v2
Latest

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.