File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,22 @@ jobs:
6363 run : npm ci
6464
6565 - name : Print workflow information
66+ env :
67+ EVENT_NAME : ${{ github.event_name }}
68+ PR_NUMBER : ${{ github.event.pull_request.number }}
69+ PR_USER_LOGIN : ${{ github.event.pull_request.user.login }}
70+ BASE_REF : ${{ github.event.pull_request.base.ref }}
71+ BASE_SHA : ${{ github.event.pull_request.base.sha }}
72+ HEAD_REF : ${{ github.event.pull_request.head.ref }}
73+ HEAD_SHA : ${{ github.event.pull_request.head.sha }}
6674 run : |
67- echo "Event name: ${{ github.event_name }} "
68- echo "Pull request number: ${{ github.event.pull_request.number }} "
69- echo "Pull request user login: ${{ github.event.pull_request.user.login }} "
70- echo "Base (target) ref: ${{ github.event.pull_request.base.ref }} "
71- echo "Base (target) sha: ${{ github.event.pull_request.base.sha }} "
72- echo "Head (source) ref: ${{ github.event.pull_request.head.ref }} "
73- echo "Head (source) sha: ${{ github.event.pull_request.head.sha }} "
75+ echo "Event name: $EVENT_NAME "
76+ echo "Pull request number: $PR_NUMBER "
77+ echo "Pull request user login: $PR_USER_LOGIN "
78+ echo "Base (target) ref: $BASE_REF "
79+ echo "Base (target) sha: $BASE_SHA "
80+ echo "Head (source) ref: $HEAD_REF "
81+ echo "Head (source) sha: $HEAD_SHA "
7482 git status
7583 git remote -v
7684 git log --oneline -n 10
You can’t perform that action at this time.
0 commit comments