From b8a07ebf4c27c0b68b920c8c7eb3a395ee0fa804 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Thu, 26 Oct 2023 12:08:00 +0300 Subject: [PATCH] Improve CI workflow --- .github/workflows/perfecto.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/perfecto.yml b/.github/workflows/perfecto.yml index 755532c5c..d335138c0 100644 --- a/.github/workflows/perfecto.yml +++ b/.github/workflows/perfecto.yml @@ -7,7 +7,7 @@ on: jobs: Perfecto: - name: Perfecto (${{inputs.image}}) + name: Perfecto (${{github.event.inputs.image}}) runs-on: ubuntu-latest steps: @@ -24,7 +24,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Run Perfecto docker image - uses: docker://ghcr.io/essentialkaos/perfecto:${{inputs.image}} + uses: docker://ghcr.io/essentialkaos/perfecto:${{github.event.inputs.image}} with: args: --version @@ -35,5 +35,5 @@ jobs: - name: Run Perfecto check env: - IMAGE: ghcr.io/essentialkaos/perfecto:${{inputs.image}} + IMAGE: ghcr.io/essentialkaos/perfecto:${{github.event.inputs.image}} run: ./perfecto-container -A PF20 $(git diff --name-status origin/master | tr '\t' ' ' | grep -Ev '(^D| tests/)' | grep '\.spec' | rev | cut -f1 -d' ' | rev | sort)