diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 45ef418f4..fb7b61955 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -110,6 +110,7 @@ jobs: env: BEFORE: ${{ github.event.before }} NUM: 20 + shell: bash run: | RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} git rev-list --quiet $RANGE \ @@ -117,6 +118,7 @@ jobs: || ( echo "could not identify commit range, checking last $NUM instead:"; bin/commitlint -$NUM ) - name: Skip remaining CI steps if latest commit message begins with ; + shell: bash run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index f5f6bed8e..62f887311 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -67,6 +67,7 @@ jobs: env: BEFORE: ${{ github.event.before }} NUM: 20 + shell: bash run: | RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} git rev-list --quiet $RANGE \ @@ -74,6 +75,7 @@ jobs: || ( echo "could not identify commits, checking last $NUM instead:"; bin/commitlint -$NUM ) - name: Skip remaining CI steps if latest commit message begins with ; + shell: bash run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 741203bee..7a9df8661 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -78,6 +78,7 @@ jobs: env: BEFORE: ${{ github.event.before }} NUM: 20 + shell: bash run: | RANGE=${BEFORE:-origin/master}..${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} git rev-list --quiet $RANGE \ @@ -85,6 +86,7 @@ jobs: || ( echo "could not identify commits, checking last $NUM instead:"; bin/commitlint -$NUM ) - name: Skip remaining CI steps if latest commit message begins with ; + shell: bash run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0813e3f50..1ca3c3265 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -68,6 +68,7 @@ jobs: || ( echo "could not identify commits, checking last $NUM instead:"; bin/commitlint -$NUM ) - name: Skip remaining CI steps if latest commit message begins with ; + shell: bash run: | echo "git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog" (git log -1 --pretty='%s' ${GITHUB_HEAD_REF:+origin/$GITHUB_HEAD_REF} >> $$.gitlog \