diff --git a/.github/workflows/branch-merge.yml b/.github/workflows/branch-merge.yml index f822a6d..700027a 100644 --- a/.github/workflows/branch-merge.yml +++ b/.github/workflows/branch-merge.yml @@ -14,5 +14,5 @@ jobs: with: github_token: ${{ github.token }} source_ref: ${{ github.ref }} - target_branch: 'main' + target_branch: main commit_message_template: '[Automated] Merged {source_ref} into {target_branch}' diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 7227502..07eb8c9 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -1,10 +1,8 @@ name: Prettier on: - pull_request: push: - branches: - - main + branches: [ main ] jobs: prettier: @@ -20,6 +18,6 @@ jobs: uses: creyD/prettier_action@v3.0 with: prettier_options: --write **/*.{html,js,md} - commit_message: 'docs: prettify code' + commit_message: 'style: prettify code' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index ab04d10..40e6d52 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -18,7 +18,7 @@ jobs: destination-repo: git@gitee.com:Doocs/advanced-java.git - name: Build Gitee Pages - uses: yanglbme/gitee-pages-action@master + uses: yanglbme/gitee-pages-action@main with: gitee-username: yanglbme gitee-password: ${{ secrets.GITEE_PASSWORD }} diff --git a/README.md b/README.md index bb13169..639f4df 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 学习之前,先来看看 [Issues 讨论区](https://github.com/doocs/advanced-java/issues/9#issue-394275038)的技术面试官是怎么说的吧。本项目欢迎各位开发者朋友到 Issues 讨论区分享自己的一些想法和实践经验。也不妨 Star 关注 [doocs/advanced-java](https://github.com/doocs/advanced-java),随时追踪项目最新动态。 -本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署在以下三个站点: +本项目基于 [Docsify](https://docsify.js.org) 进行构建,并同步部署(这里用到 [Gitee Pages Action](https://github.com/yanglbme/gitee-pages-action) 自动部署工具,非常好用的一个开源工具,欢迎 Star 关注)在以下三个站点: - Netlify: https://adjava.netlify.app - Gitee Pages: https://doocs.gitee.io/advanced-java