Skip to content

Commit 8fe2880

Browse files
authored
ci: enable dispatch and add tmate in workflow of cutter (#77)
1 parent fee3dc6 commit 8fe2880

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Test Jinja2
22
permissions: read-all
33
"on":
4+
workflow_dispatch:
45
pull_request:
56
push:
67
branches:
@@ -65,3 +66,8 @@ jobs:
6566
source project-venv/bin/activate
6667
tox
6768
working-directory: ./ansible-role-myrole
69+
70+
- name: setup tmate session if any previous step failed and if this is a manual run
71+
if: ${{ failure() && github.event_name == 'workflow_dispatch' }}
72+
uses: mxschmitt/action-tmate@v3
73+
timeout-minutes: 30

0 commit comments

Comments
 (0)