From cf624fbdad9dc9b457e91daba168efccd33398bd Mon Sep 17 00:00:00 2001 From: Michael Lehmann Date: Tue, 4 Feb 2025 11:35:23 -0800 Subject: [PATCH] Fix automerge action syntax --- .github/workflows/automerge-approved-prs.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/automerge-approved-prs.yml b/.github/workflows/automerge-approved-prs.yml index 3cc02fd..fc9445d 100644 --- a/.github/workflows/automerge-approved-prs.yml +++ b/.github/workflows/automerge-approved-prs.yml @@ -9,10 +9,7 @@ jobs: contents: write pull-requests: write id-token: write - if: >- - github.event.review.state == 'approved' && - github.event.repository == 'aws/configure-aws-credentials' && - (github.event.review.author_association == 'OWNER' || github.event.review.user.login == 'aws-sdk-osds') + if: ${{ github.event.review.state == 'approved' && github.repository == 'aws/configure-aws-credentials' && (github.event.review.author_association == 'OWNER' || github.event.review.author_association == 'MEMBER' || github.event.review.user.login == 'aws-sdk-osds') }} runs-on: ubuntu-latest steps: - name: Configure AWS credentials