Skip to content

Commit ad2b2ef

Browse files
authored
chore(ci): run pull request workflow on ready for review and synchronize (#7341)
1 parent 9cd9415 commit ad2b2ef

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pull-request-build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Build SDK
22
on:
3-
pull_request_review:
4-
types: [ submitted ]
5-
branches: [ main ]
3+
pull_request:
4+
types: [synchronize, ready_for_review]
65

76
concurrency:
87
group: start-pull-request-build-${{ github.ref }}
@@ -15,7 +14,7 @@ env:
1514

1615
jobs:
1716
aws-sdk-pr-build:
18-
if: github.event.review.state == 'approved'
17+
if: github.event.pull_request.draft == false
1918
runs-on: ubuntu-latest
2019
permissions:
2120
id-token: write

0 commit comments

Comments
 (0)