From dc72a5c227840694b5071b2ba2dc6ba998795202 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 30 Oct 2024 19:49:03 +0000 Subject: [PATCH] wtf seriously --- .github/workflows/draft-release-pr-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/draft-release-pr-check.yml b/.github/workflows/draft-release-pr-check.yml index ff017b8d6c..4c8d0f6854 100644 --- a/.github/workflows/draft-release-pr-check.yml +++ b/.github/workflows/draft-release-pr-check.yml @@ -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