diff --git a/.github/workflows/make-sure-label-is-present.yaml b/.github/workflows/make-sure-label-is-present.yaml index 63d6d6f8..813321cc 100644 --- a/.github/workflows/make-sure-label-is-present.yaml +++ b/.github/workflows/make-sure-label-is-present.yaml @@ -18,13 +18,13 @@ jobs: steps: - name: Check if label exists id: make-sure-label-is-present - if: "contains(github.event.pull_request.labels.*.name, '${{ inputs.label }}')" + if: contains(github.event.pull_request.labels.*.name, 'test-label') run: | echo "result=true" >> $GITHUB_OUTPUT shell: bash - name: Fail the job - if: "steps.make-sure-label-is-present.outputs.result != 'true'" + if: steps.make-sure-label-is-present.outputs.result != 'true' run: | echo "Please add the label '${{ inputs.label }}' to run this workflow." echo "result=false" >> $GITHUB_OUTPUT