commit:     ac232643a830b3166be2f9143e5274d4ed049802
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Mon Dec  1 00:07:44 2025 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Mon Dec  1 00:38:24 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=ac232643

chore: restore format checks in normal runs

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 .github/workflows/release.yml |  2 +-
 .github/workflows/test.yml    | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bd615ba4..7cc4449e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -70,7 +70,7 @@ jobs:
     uses: ./.github/workflows/test.yml
     with:
       release-artifact-id: ${{ needs.build.outputs.release-artifact-id }}
-      format-check: false
+      disable-format-check: true
 
   publish:
     if: github.ref_type == 'tag'

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5f258ad1..6a379598 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,10 +12,11 @@ on:
         type: string
         default: ''
         description: The artifact-id to run the tests against.
-      format-check:
-        type: boolean
-        default: true
-        description: Run the ruff format check.  This should only be disabled 
for releases.
+      disable-format-check:
+        type: string
+        default: ''
+        description: Disable ruff format check if it is a non empty value
+
 jobs:
   build:
     runs-on: ${{ matrix.os }}
@@ -140,7 +141,7 @@ jobs:
 
   format:
     runs-on: ubuntu-latest
-    if: inputs.format-check
+    if: inputs.disable-format-check == ''
     steps:
     - name: Checkout pkgcore
       uses: actions/checkout@v5

Reply via email to