update workflows

This commit is contained in:
sunxyw
2023-02-17 16:32:10 +08:00
parent 16f2db3f28
commit c283a84263
2 changed files with 78 additions and 0 deletions

View File

@@ -47,6 +47,16 @@ jobs:
commit_message: update api docs
branch: ${{ github.base_ref }}
- name: Update Class Aliases Docs
run: ./zhamao generate:text class-alias-md
if: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.changed_files, 'src/Globals/global_class_alias.php') }}
- name: Commit Class Aliases Docs
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update class aliases docs
branch: ${{ github.base_ref }}
- name: Increment build number
id: increment-build-number
run: |