We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b4434 commit ffef395Copy full SHA for ffef395
1 file changed
.github/workflows/__call-github-env.yml
@@ -0,0 +1,28 @@
1
+---
2
+# This workflow can be called by other repos if we want to debug the GitHub context. This is useful for popular
3
+# projects that get many PRs so we can see how the context varies between forks and internal branches.
4
+
5
+name: GitHub Env Debug
6
+permissions:
7
+ contents: read
8
9
+on:
10
+ pull_request:
11
+ branches:
12
+ - master
13
+ types:
14
+ - opened
15
+ - synchronize
16
+ - reopened
17
+ workflow_call:
18
19
+jobs:
20
+ github_env:
21
+ name: GitHub Env Debug
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Dump GitHub context
25
+ env:
26
+ GITHUB_CONTEXT: ${{ toJson(github) }}
27
+ shell: bash
28
+ run: echo "$GITHUB_CONTEXT"
0 commit comments