Skip to content

Commit be7f046

Browse files
committed
DEBUG
1 parent e737f06 commit be7f046

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/yaml.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,14 @@ jobs:
3636
- run: |
3737
docker network create frontend
3838
39+
# https://github.com/mxschmitt/action-tmate?tab=readme-ov-file#manually-triggered-debug
40+
# Enable tmate debugging if debug logging is enabled (cf.
41+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#runner-context)
42+
- name: Setup tmate session
43+
uses: mxschmitt/action-tmate@v3
44+
with:
45+
limit-access-to-actor: false
46+
if: 1 == runner.debug
47+
3948
- run: |
4049
docker compose run --rm prettier '**/*.{yml,yaml}' --check

0 commit comments

Comments
 (0)