This commit is contained in:
Stephan 2021-12-12 22:23:58 +01:00
parent f9a41a087c
commit 30bcef5c7f

View File

@ -16,11 +16,12 @@ jobs:
steps: steps:
- name: Confirm - name: Confirm
if: ${{ github.event.inputs.confirm }} != "yolo"
uses: actions/github-script@v4 uses: actions/github-script@v4
with: with:
script: | script: |
if ("${{ github.event.inputs.confirm }}" != "yolo") {
core.setFailed(`Not confirmed (confirm = '${{ github.event.inputs.confirm }}').`) core.setFailed(`Not confirmed (confirm = '${{ github.event.inputs.confirm }}').`)
}
- name: Validate the release - name: Validate the release
uses: actions/github-script@v4 uses: actions/github-script@v4