Fix automerge action syntax

This commit is contained in:
Michael Lehmann
2025-02-04 11:35:23 -08:00
committed by Tom Keller
parent 4fc4975a85
commit cf624fbdad

View File

@@ -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