diff --git a/.github/workflows/debug.yaml b/.github/workflows/debug.yaml index 9b6957cdf..66f3c314e 100644 --- a/.github/workflows/debug.yaml +++ b/.github/workflows/debug.yaml @@ -44,8 +44,9 @@ jobs: - name: upgrade - should be backwards compatible run: | - echo "LAST_COMMIT=$(git log $GITHUB_SHA --pretty=%B)" >> ${GITHUB_ENV} + LAST_COMMIT=$(git log $GITHUB_SHA --pretty=%B) echo LAST_COMMIT=$LAST_COMMIT >> ${GITHUB_ENV} echo "LAST_COMMIT_MSG=${{github.event.head_commit.message}}" >> ${GITHUB_ENV} + echo "COMMIT_BREAKING=${{contains(github.event.head_commit.message, '[breaking]')}}" >> ${GITHUB_ENV} echo "BRANCH_BREAKING=${{contains(github.ref_name, 'breaking-') || contains(github.ref, 'breaking-') || contains(github.head_ref, 'breaking-')}}" >> ${GITHUB_ENV}