Skip to content

Commit 0f0af75

Browse files
authored
🔊 Add debugging logs for GitHub actions to introspect GitHub hidden context (fastapi#1764)
1 parent 6c9dca5 commit 0f0af75

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ jobs:
77
build:
88
runs-on: ubuntu-18.04
99
steps:
10+
- name: Dump GitHub context
11+
env:
12+
GITHUB_CONTEXT: ${{ toJson(github) }}
13+
run: echo "$GITHUB_CONTEXT"
1014
- uses: actions/checkout@v2
1115
- name: Set up Python
1216
uses: actions/setup-python@v1

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Dump GitHub context
13+
env:
14+
GITHUB_CONTEXT: ${{ toJson(github) }}
15+
run: echo "$GITHUB_CONTEXT"
1216
- uses: actions/checkout@v2
1317
- name: Set up Python
1418
uses: actions/setup-python@v1

0 commit comments

Comments
 (0)