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