Skip to content

Commit ac23264

Browse files
committed
chore: restore format checks in normal runs
Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent 4b2ccb4 commit ac23264

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
uses: ./.github/workflows/test.yml
7171
with:
7272
release-artifact-id: ${{ needs.build.outputs.release-artifact-id }}
73-
format-check: false
73+
disable-format-check: true
7474

7575
publish:
7676
if: github.ref_type == 'tag'

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ on:
1212
type: string
1313
default: ''
1414
description: The artifact-id to run the tests against.
15-
format-check:
16-
type: boolean
17-
default: true
18-
description: Run the ruff format check. This should only be disabled for releases.
15+
disable-format-check:
16+
type: string
17+
default: ''
18+
description: Disable ruff format check if it is a non empty value
19+
1920
jobs:
2021
build:
2122
runs-on: ${{ matrix.os }}
@@ -140,7 +141,7 @@ jobs:
140141

141142
format:
142143
runs-on: ubuntu-latest
143-
if: inputs.format-check
144+
if: inputs.disable-format-check == ''
144145
steps:
145146
- name: Checkout pkgcore
146147
uses: actions/checkout@v5

0 commit comments

Comments
 (0)