From 9f798c68ef14063f73d62688900176f0ed921fed Mon Sep 17 00:00:00 2001 From: Daniel Vaz Gaspar Date: Wed, 22 May 2024 22:31:54 +0100 Subject: [PATCH] fix(ci): restrict issue comments to members or owners (#28633) --- .github/workflows/update-monorepo-lockfiles.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-monorepo-lockfiles.yml b/.github/workflows/update-monorepo-lockfiles.yml index b0b63a912e29a..820384d8df8bd 100644 --- a/.github/workflows/update-monorepo-lockfiles.yml +++ b/.github/workflows/update-monorepo-lockfiles.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest if: > (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]') || - (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@supersetbot trigger-dependabot-lockfile') && github.event.issue.pull_request) + (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@supersetbot trigger-dependabot-lockfile') && github.event.issue.pull_request && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')) defaults: run: working-directory: superset-frontend