Skip to content

Commit

Permalink
wtf seriously
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Oct 30, 2024
1 parent 0f10520 commit dc72a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/draft-release-pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ jobs:
check-bot: true

- name: Abort if user permissions are insufficient
if: steps.check-permission.outputs.require-result != 'true' #user doesn't have permission
|| steps.check-permission.outputs.check-result != 'false' #user is a bot
#user doesn't have permission or is a bot
if: steps.check-permission.outputs.require-result != 'true' || steps.check-permission.outputs.check-result != 'false'
run: |
echo "::error::This user is not authorized to trigger releases"
exit 1
Expand Down

0 comments on commit dc72a5c

Please sign in to comment.