Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

Releases

Used by

Contributors