Skip to content

Commit

Permalink
Merge pull request #77 from scientist-softserv/choose-which-step-to-d…
Browse files Browse the repository at this point in the history
…ebug-with-tmate

replace debug boolean with dropdown
  • Loading branch information
orangewolf authored Sep 12, 2024
2 parents 9ae66ea + 95e1e71 commit 7fbcddb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_step == 'build' }}
with:
limit-access-to-actor: true
- name: Retag action for base
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_step == 'cypress' }}
with:
limit-access-to-actor: true
- name: Pull image to prevent build
Expand Down Expand Up @@ -131,4 +131,4 @@ jobs:
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: 'cypress/results/results-*.xml'
report_paths: 'cypress/results/results-*.xml'
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
token: ${{ secrets.CHECKOUT_TOKEN || secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_step == 'deploy' }}
with:
limit-access-to-actor: true
- name: Do deploy with solr image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_step == 'lint' }}
with:
limit-access-to-actor: true
- name: Run Rubocop
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_step == 'test' }}
with:
limit-access-to-actor: true
- name: Start containers
Expand Down

0 comments on commit 7fbcddb

Please sign in to comment.