diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index dbffab9..f29f237 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -8,6 +8,8 @@ on: pull_request: branches: - main + repository_dispatch: + types: [create-pull-request] permissions: contents: read @@ -44,4 +46,4 @@ jobs: run: bundle exec pod install - name: Test AppSyncRealTimeClient - run: xcodebuild test -workspace AppSyncRealTimeClient.xcworkspace -scheme AppSyncRealTimeClient -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14,OS=latest" | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]} \ No newline at end of file + run: xcodebuild test -workspace AppSyncRealTimeClient.xcworkspace -scheme AppSyncRealTimeClient -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 14,OS=latest" | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]} diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 27ebe3b..7a37493 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -4,6 +4,8 @@ on: pull_request: branches: - main + repository_dispatch: + types: [create-pull-request] permissions: contents: read