Update android-newarch-sync.yml #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: APM Android newarch dev sync | |
on: | |
push: | |
branches: | |
- 'dev' | |
workflow_dispatch: | |
jobs: | |
sync: | |
name: sync | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: dev-newarch | |
- name: commit | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name lovegaoshi | |
git config pull.rebase false | |
git pull origin dev --allow-unrelated-histories | |
git commit -m "chore: dev sync" -a | |
- name: Push changes to dev-newarch | |
uses: ad-m/github-push-action@master | |
with: | |
tags: true | |
branch: dev-newarch |