We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34890a0 commit e1afbeaCopy full SHA for e1afbea
.circleci/config.yml
@@ -29,7 +29,8 @@ commands:
29
- run:
30
name: Check-skip
31
command: |
32
- export COMMIT_MESSAGE=$(git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " ")
+ git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " " > commit_message.txt
33
+ export COMMIT_MESSAGE=$(cat commit_message.txt);
34
echo "Got commit message:"
35
echo "${COMMIT_MESSAGE}"
36
if [[ -v CIRCLE_PULL_REQUEST ]] && ([[ "$COMMIT_MESSAGE" == *"[skip circle]"* ]] || [[ "$COMMIT_MESSAGE" == *"[circle skip]"* ]]); then
0 commit comments