Skip to content

Commit

Permalink
fixup! Check if changelog exists
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jan 23, 2020
1 parent 1f66f67 commit 7c50983
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/clippy_bors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
steps:
- name: Check Changelog
run: |
MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }})
echo $MESSAGE
exit 1
PR=$(echo "${{ github.ref }}" | grep -o "[0-9]*")
output=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -s "https://api.github.com/repos/rust-lang/rust-clippy/pulls/$PR" | \
python -c "import sys, json; print(json.load(sys.stdin)['body'])" | \
Expand Down

0 comments on commit 7c50983

Please sign in to comment.