Skip to content

Commit 7c50983

Browse files
committed
fixup! Check if changelog exists
1 parent 1f66f67 commit 7c50983

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/clippy_bors.yml

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
steps:
2323
- name: Check Changelog
2424
run: |
25+
MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }})
26+
echo $MESSAGE
27+
exit 1
2528
PR=$(echo "${{ github.ref }}" | grep -o "[0-9]*")
2629
output=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$PR" | \
2730
python -c "import sys, json; print(json.load(sys.stdin)['body'])" | \

0 commit comments

Comments
 (0)