-
Notifications
You must be signed in to change notification settings - Fork 2
117 lines (115 loc) · 2.27 KB
/
debug.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name: Debug
on:
branch_protection_rule:
check_run:
check_suite:
create:
delete:
deployment:
deployment_status:
discussion:
discussion_comment:
fork:
gollum:
issue_comment:
issues:
label:
merge_group:
milestone:
page_build:
project:
project_card:
project_column:
public:
pull_request:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed
- auto_merge_enabled
- auto_merge_disabled
pull_request_review:
pull_request_review_comment:
pull_request_target:
types:
- assigned
- unassigned
- labeled
- unlabeled
- opened
- edited
- closed
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- locked
- unlocked
- review_requested
- review_request_removed
- auto_merge_enabled
- auto_merge_disabled
push:
registry_package:
release:
repository_dispatch:
# schedule:
status:
watch:
workflow_call:
workflow_dispatch:
# workflow_run:
permissions: {}
jobs:
debug:
name: Debug
runs-on: ubuntu-latest
defaults:
run:
shell: bash -xe {0}
steps:
- run: echo ${{ github.event.commits[0].url }} >> $GITHUB_STEP_SUMMARY
- run: |
echo "GITHUB_EVENT_PATH
\`\`\`json
`cat $GITHUB_EVENT_PATH`
\`\`\`" >> $GITHUB_STEP_SUMMARY
- run: |
echo "gh
\`\`\`console
`gh --version`
\`\`\`" >> $GITHUB_STEP_SUMMARY
- run: |
echo "docker
\`\`\`console
`docker --version`
\`\`\`" >> $GITHUB_STEP_SUMMARY
- run: |
echo "docker-compose
\`\`\`console
`docker-compose --version`
\`\`\`" >> $GITHUB_STEP_SUMMARY
- run: |
cat << 'EOF' >> $GITHUB_STEP_SUMMARY
github context
```json
${{ toJSON(github) }}
```
EOF
- run: |
echo "All ENV
\`\`\`env
`env`
\`\`\`" >> $GITHUB_STEP_SUMMARY