We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61ca901 commit 1c87df4Copy full SHA for 1c87df4
.travis.yml
@@ -94,7 +94,7 @@ script:
94
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
95
output=$(curl -H "Authorization: token $GITHUB_API_TOKEN" -s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$pr" | \
96
python -c "import sys, json; print(json.load(sys.stdin)['body'])" | \
97
- grep "changelog: " | \
+ grep "^changelog: " | \
98
sed "s/changelog: //g")
99
if [ -z "$output" ]; then
100
echo "ERROR: PR body must contain 'changelog: ...'"
0 commit comments