diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 739be3584..57c65629c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,17 +3,13 @@ on: workflow_dispatch: inputs: # null for another event skip: - type: choice - default: no - options: - - no - - workflow - - job + type: boolean + default: false permissions: {} concurrency: - group: ${{ github.workflow }}-workflow - cancel-in-progress: ${{ inputs.skip != 'job' }} + group: ${{ github.workflow }} + cancel-in-progress: true jobs: test1: @@ -21,11 +17,3 @@ jobs: runs-on: ubuntu-latest steps: - run: sleep 60 - test2: - concurrency: - group: ${{ github.workflow }}-job - cancel-in-progress: true - if: ${{ inputs.skip != 'job'}} - runs-on: ubuntu-latest - steps: - - run: sleep 120