From 5b72a71be7488602f6b7b449271d922b19e2a5b8 Mon Sep 17 00:00:00 2001 From: John Kjell Date: Tue, 31 Oct 2023 06:18:53 -0500 Subject: [PATCH] Fix variables to workflow Signed-off-by: John Kjell --- .github/workflows/pipeline.yml | 2 +- .github/workflows/witness.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index f9465a4..b752717 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -15,7 +15,7 @@ jobs: uses: ./.github/workflows/witness.yml with: pull_request: ${{ github.event_name == 'pull_request' }} - step: + step: fmt attestations: "github" command: go fmt ./... diff --git a/.github/workflows/witness.yml b/.github/workflows/witness.yml index e95b273..757ff7f 100644 --- a/.github/workflows/witness.yml +++ b/.github/workflows/witness.yml @@ -59,8 +59,8 @@ jobs: uses: testifysec/witness-run-action@40aa4ef36fc431a37de7c3faebcb66513c03b934 with: step: pre-${{ inputs.step }} - attestations: $${ inputs.attestations }} - command: /bin/sh -c "$${ inputs.pre-command }} + attestations: ${{ inputs.attestations }} + command: /bin/sh -c "${{ inputs.pre-command }} - if: ${{ inputs.pre-command != '' && inputs.pull_request == true }} run: ${{ inputs.pre-command }} @@ -68,8 +68,8 @@ jobs: uses: testifysec/witness-run-action@40aa4ef36fc431a37de7c3faebcb66513c03b934 with: step: ${{ inputs.step }} - attestations: $${ inputs.attestations }} - command: /bin/sh -c "$${ inputs.command }}" + attestations: ${{ inputs.attestations }} + command: /bin/sh -c "${{ inputs.command }}" - if: ${{ inputs.pull_request == true }} run: ${{ inputs.command }}