Skip to content

Commit

Permalink
Merge pull request #17 from aminekarimii/aminekarimii-patch-1
Browse files Browse the repository at this point in the history
Update android.yml to trigger build only after merging PR into Dev branch
  • Loading branch information
aminekarimii committed Apr 12, 2023
2 parents ee2719f + 33682d6 commit 37a1f05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Android CI

on:
pull_request_review:
types: [submitted]
branches: [ "dev" ]
push:
branches:
- dev

jobs:
build:

if: github.event.review.state == 'approved'
if: github.event_name == 'push' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'dev'
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 37a1f05

Please sign in to comment.