Skip to content

Commit

Permalink
breaking alt
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Aug 4, 2024
1 parent 77478f2 commit a2c0333
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
run: |
export 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_ALT=${{contains(env.LAST_COMMIT, '[breaking]')}}" >> ${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}
Expand All @@ -57,6 +59,7 @@ jobs:
run: |
echo LAST_COMMIT: ${{ env.LAST_COMMIT }}
echo LAST_COMMIT_MSG: ${{ env.LAST_COMMIT_MSG }}
echo COMMIT_BREAKING_ALT: ${{env.COMMIT_BREAKING_ALT}}
echo BRANCH_BREAKING: ${{ env.BRANCH_BREAKING }}
echo COMMIT_BREAKING: ${{ env.COMMIT_BREAKING }}
echo "should run"
Expand Down

0 comments on commit a2c0333

Please sign in to comment.