From 6dfc85a6fbc3a4d658ec870d75e0595933947ed5 Mon Sep 17 00:00:00 2001 From: Simon Davis Date: Fri, 13 Sep 2024 10:24:28 -0700 Subject: [PATCH] fixes for commcheck and check for partner approval --- .github/workflows/feed-approval.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/feed-approval.yml b/.github/workflows/feed-approval.yml index 874dad738..193e91454 100644 --- a/.github/workflows/feed-approval.yml +++ b/.github/workflows/feed-approval.yml @@ -20,14 +20,14 @@ jobs: id: community_check uses: ./.github/actions/community_check with: - user_login: ${{ github.event.pull_request.user.login }} + user_login: ${{ github.event.review.user.login }} maintainers: ${{ secrets.MAINTAINERS }} + partners: ${{ secrets.PARTNERS }} - name: Maintainer Approval if: | github.event.review.state == 'approved' - && steps.community_check.outputs.maintainer == 'true' - && github.actor != 'dependabot[bot]' + && (steps.community_check.outputs.maintainer == 'true' || steps.community_check.outputs.partner == 'true') uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 env: REVIEW_AUTHOR_URL: ${{ github.event.review.user.html_url }}