From 890c98875716bc9125ca8598871dc111bdf4c778 Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 12 Dec 2021 19:44:49 +0100 Subject: [PATCH] fix --- .github/workflows/publish-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d3381a3..cd16b72 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -2,9 +2,9 @@ name: Publish Release on: workflow_dispatch inputs: confirm: - description: 'This is really going to release. Are you sure?' + description: 'This is really going to release. Are you sure? Type \'yes\'.' required: true - default: false + default: '' jobs: job: runs-on: ubuntu-latest @@ -12,7 +12,7 @@ jobs: steps: - name: Confirm - if: ${{ github.event.inputs.confirm }} == false + if: ${{ github.event.inputs.confirm }} != 'yes' uses: actions/github-script@v4 with: script: |