Skip to content

Commit

Permalink
MBX-2726 Trigger on Approve PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Akylbek Utekeshev committed Nov 10, 2023
1 parent bc65159 commit 945da80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build PushOk when PR open.

on:
pull_request:
types: [opened, synchronize]
pull_request_review:
types: [submitted]
branches:
- 'feature/*'

Expand All @@ -19,6 +19,7 @@ jobs:
echo "commits=$commits" >> $GITHUB_ENV
- name: Trigger build workflow in ios-app repo.
if: github.event.review.state == 'approved'
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.PAT_IOS_APP }}
Expand Down

0 comments on commit 945da80

Please sign in to comment.