Skip to content

Commit 9d2e3a8

Browse files
committed
hack hack hack hack
Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent cb8e881 commit 9d2e3a8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/actions/checkout/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ inputs:
1515
runs:
1616
using: composite
1717
steps:
18-
- name: wipe
18+
- name: Wipe existing
1919
shell: bash
2020
run: |
21-
if [ -e "${{ inputs.path }}" ]; then
22-
find "${{ inputs.path }}/" -maxdepth 1 -mindepth 1 \! -name .github -exec rm {} \;
23-
fi
21+
find "${{ inputs.path || "." }}/" -maxdepth 1 -mindepth 1 \! -name .github -exec rm {} \;
2422
- name: Download artifact
2523
id: download
2624
if: inputs.artifact-id

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ on:
1717
type: string
1818
default: ''
1919
disable-ruff-check:
20-
required: false
2120
type: boolean
2221
default: false
2322
description: Disable the ruff format check. This should only be used by release.
@@ -186,7 +185,7 @@ jobs:
186185

187186
format:
188187
runs-on: ubuntu-latest
189-
if: ! inputs.disable-ruff-check
188+
if: ! inputs.disable-ruff-check
190189
steps:
191190
- name: Checkout code
192191
uses: actions/checkout@v5

0 commit comments

Comments
 (0)