ci(cronet.yml):only gedoor can trigger

pull/1695/head
Xwite 3 years ago
parent e3a5f0c052
commit 5a6d2278ae
  1. 7
      .github/workflows/cronet.yml

@ -8,17 +8,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor == 'gedoor' }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Download Lastest Cronet jar
- name: Check Cronet Updates
run: |
echo "获取cronet最新版本"
source .github/scripts/cronet.sh
echo "PR_TITLE=Bump cronet from $current_cronet_version to $lastest_cronet_version " >>$GITHUB_ENV
echo "PR_BODY=Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)" >>$GITHUB_ENV
echo "PR_TITLE=Bump cronet from $current_cronet_version to $lastest_cronet_version " >> $GITHUB_ENV
echo "PR_BODY=Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)" >> $GITHUB_ENV
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3

Loading…
Cancel
Save