From 31fb3c91d2bd937c3c184abf20cfd5b9dadd36af Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Wed, 7 Apr 2021 10:56:01 -0400 Subject: [PATCH] update comment workflow --- .github/workflows/comment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 994c0e952..9781d591c 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -11,7 +11,7 @@ jobs: name: rebase runs-on: ubuntu-latest if: | - github.event.issue.pull_request && + github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase') steps: - name: Checkout repo @@ -28,7 +28,7 @@ jobs: name: release:next runs-on: ubuntu-latest if: | - github.event.issue.pull_request && + github.event.issue.pull_request != '' && github.event.sender.login === 'ianstormtaylor' && startsWith(github.event.comment.body, '/release:next') steps: