Skip to content

Commit

Permalink
tmp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wgtdkp committed Dec 8, 2020
1 parent 95917b0 commit 7269f9a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/android-app-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
name: Android App Release

on:
pull_request:
pull_request_target:
types: [assigned, opened, synchronize, reopened, closed]

jobs:
Expand All @@ -41,7 +41,11 @@ jobs:
# We run this job only when the PR branch starts with 'android-release/'.
if: startsWith(github.head_ref, 'android-release/')
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Check Release Version
id: check_release_version
run: |
Expand All @@ -56,7 +60,8 @@ jobs:
fi
echo "::set-output name=release_version::${gradle_version}"
echo "::set-output name=pr_merged::${{ github.event.pull_request.merged }}"
echo "::set-output name=pr_merged::${{ github.event.pull_request_target.merged }}"
echo "::set-output name=pr_merged::true"
- name: Bootstrap
run: |
script/bootstrap.sh
Expand Down

0 comments on commit 7269f9a

Please sign in to comment.