File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 8787 with :
8888 fetch-depth : 0
8989
90- # - name: Print debug output
91- # env:
92- # GITHUB_CONTEXT: ${{ toJson(github) }}
90+ - name : Print debug output
91+ env :
92+ GITHUB_CONTEXT : ${{ toJson(github) }}
9393 # run: |
9494 # echo "$GITHUB_SHA"
9595 # echo "$GITHUB_REF"
@@ -104,6 +104,9 @@ jobs:
104104 # for a PR this will be: origin/master..origin/$GITHUB_HEAD_REF
105105 # for a push it will be: $BEFORE..
106106 run : |
107+ echo A"$BEFORE"B
108+ echo C"${BEFORE}"D
109+ echo E"${BEFORE:-origin/master}"F
107110 bin/commitlint ${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF}
108111
109112 # things to be cached/restored:
Original file line number Diff line number Diff line change 5454 # for a PR this will be: master..origin/$GITHUB_HEAD_REF
5555 # for a push it will be: master..
5656 run : |
57- bin/commitlint origin/master..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF}
57+ echo A"$BEFORE"B
58+ echo C"${BEFORE}"D
59+ echo E"${BEFORE:-origin/master}"F
60+ bin/commitlint ${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF}
5861
5962 # things to be cached/restored:
6063
You can’t perform that action at this time.
0 commit comments