Skip to content

Commit dde3ac6

Browse files
committed
Udpate logic to include push
1 parent b755cab commit dde3ac6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Build SDK
22
on:
33
merge_group:
44
pull_request_target:
5+
push:
6+
branches:
7+
- master
8+
paths-ignore:
9+
- '**.md'
10+
- '.all-contributorsrc'
11+
- 'docs/**'
512

613
concurrency:
714
group: start-pull-request-build-${{ github.event.pull_request.number || github.ref }}
@@ -13,7 +20,9 @@ env:
1320

1421
jobs:
1522
aws-sdk-pr-build:
16-
if: github.event_name == 'merge_group' || github.event.pull_request.draft == false
23+
if: >
24+
github.event_name != 'pull_request_target' ||
25+
github.event.pull_request.draft == false
1726
runs-on: ubuntu-latest
1827
permissions:
1928
id-token: write

0 commit comments

Comments
 (0)