diff --git a/.github/workflows/build-test-lint.yaml b/.github/workflows/build-test-lint.yaml index 60893cbd7..f2d9d4a6a 100644 --- a/.github/workflows/build-test-lint.yaml +++ b/.github/workflows/build-test-lint.yaml @@ -9,15 +9,18 @@ on: - main workflow_dispatch: inputs: - debug_enabled: - type: boolean - description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + debug_step: required: false - default: false + description: 'Pause the selected step to debug using tmate' + type: choice + options: + - build + - test + - lint jobs: build: - uses: scientist-softserv/actions/.github/workflows/build.yaml@v0.0.22 + uses: scientist-softserv/actions/.github/workflows/build.yaml@choose-which-step-to-debug-with-tmate secrets: inherit with: platforms: "linux/amd64" @@ -26,10 +29,10 @@ jobs: workerTarget: hyku-worker test: needs: build - uses: scientist-softserv/actions/.github/workflows/test.yaml@v0.0.22 + uses: scientist-softserv/actions/.github/workflows/test.yaml@choose-which-step-to-debug-with-tmate lint: needs: build - uses: scientist-softserv/actions/.github/workflows/lint.yaml@v0.0.22 + uses: scientist-softserv/actions/.github/workflows/lint.yaml@choose-which-step-to-debug-with-tmate with: rubocop_cmd: 'bundle exec rubocop --parallel --format progress' diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 45d31ca48..1b93de62e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,13 +12,14 @@ on: - staging - demo - production - debug_enabled: - type: boolean - description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + debug_step: + description: 'Pause the selected step to debug using tmate' required: false - default: false + type: choice + options: + - deploy jobs: deploy: - uses: scientist-softserv/actions/.github/workflows/deploy.yaml@v0.0.22 + uses: scientist-softserv/actions/.github/workflows/deploy.yaml@choose-which-step-to-debug-with-tmate secrets: inherit