mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
Fail the auto approve workflow if the GitHub API call fails
This commit is contained in:
@@ -22,4 +22,5 @@ jobs:
|
||||
--url https://api.github.com/repos/${{github.repository}}/pulls/${{github.event.number}}/reviews \
|
||||
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
|
||||
--header 'content-type: application/json' \
|
||||
-d '{"event":"APPROVE"}'
|
||||
-d '{"event":"APPROVE"}' \
|
||||
--fail
|
||||
|
||||
Reference in New Issue
Block a user