From cd195fb99a2a27c07f83c061a763965bcb3cc85a Mon Sep 17 00:00:00 2001 From: Ruth Cheesley Date: Sun, 3 Nov 2024 12:38:22 +0000 Subject: [PATCH] Trying to address issues with command args --- .github/workflows/linting.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 735a59ef..7aa9325d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -83,9 +83,8 @@ jobs: doctor-rst- - name: Run DOCtor-RST - if: ${{ env.CHANGED_FILES != '' }} - uses: docker://oskarstark/doctor-rst - with: - args: --short --error-format=github docs/ --cache-file=/github/workspace/.cache/doctor-rst.cache + if: env.CHANGED_FILES != '' + run: | + docker run --rm -v $(pwd):/github/workspace oskarstark/doctor-rst --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache docs/ env: DOCS_DIR: 'docs/'