Skip to content

Commit

Permalink
Add failure() to debug step on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Oct 24, 2024
1 parent 497b7f8 commit aea747f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:

- name: Debug session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

0 comments on commit aea747f

Please sign in to comment.