更新v1.8.1升级日志,新增2024年度报告功能 #50
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: Merge main into stackblitz | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
merge: | |
if: ${{ github.actor != 'github-actions[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 检出代码 | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: 设置 Git 用户信息 | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "[email protected]" | |
- name: 获取所有分支 | |
run: | | |
git fetch --all | |
- name: 切换到 stackblitz 分支 | |
run: | | |
git checkout stackblitz | |
- name: 将 main 分支合并到 stackblitz 分支 | |
run: | | |
git merge --no-edit main | |
- name: 推送更改到 stackblitz 分支 | |
run: | | |
git push origin stackblitz |