File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,16 @@ jobs:
27
27
- name : Debug info
28
28
# https://docs.github.com/en/actions/reference/security/secure-use#use-an-intermediate-environment-variable
29
29
env :
30
- GH_HEAD_REF : ${{ github.head_ref }}
30
+ # `env:` values are printed to the log even without using them in `run:`
31
+ GH_CONTEXT : ${{ toJson(github) }}
32
+ GH_EVENT : ${{ toJson(github.event) }}
33
+ GH_PULL_REQUEST : ${{ toJson(github.event.pull_request) }}
31
34
run : |
32
35
cat <<EOF
33
- Scratch environment : ${{ vars.SCRATCH_ENV || '<none>' }}
36
+ Working directory : $(pwd)
34
37
Node version: $(node --version)
35
38
NPM version: $(npm --version)
36
- GitHub ref: ${{ github.ref }}
37
- GitHub head ref: ${GH_HEAD_REF}
38
- Working directory: $(pwd)
39
+ Scratch environment: ${{ vars.SCRATCH_ENV || '<none>' }}
39
40
EOF
40
41
41
42
- uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
You can’t perform that action at this time.
0 commit comments