mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-01 12:35:04 +08:00
feat: optimize actions
This commit is contained in:
parent
937d748c67
commit
83feaa7300
6
.github/workflows/genlocale.yml
vendored
6
.github/workflows/genlocale.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
git config --local user.name 'github-actions[bot]'
|
git config --local user.name 'github-actions[bot]'
|
||||||
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
|
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m "chore(i18n): sync locale"
|
git commit -m "chore(i18n): sync locale on ${{github.ref_name}}"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.commitback.outcome == 'success'
|
if: steps.commitback.outcome == 'success'
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
body: "Automatically sync i18n translation jsons"
|
body: "Automatically sync i18n translation jsons"
|
||||||
title: "chore(i18n): sync locale"
|
title: "chore(i18n): sync locale on ${{github.ref_name}}"
|
||||||
commit-message: "chore(i18n): sync locale"
|
commit-message: "chore(i18n): sync locale on ${{github.ref_name}}"
|
||||||
branch: genlocale-${{github.ref_name}}
|
branch: genlocale-${{github.ref_name}}
|
||||||
branch-suffix: short-commit-hash
|
branch-suffix: short-commit-hash
|
||||||
|
2
.github/workflows/pull_format.yml
vendored
2
.github/workflows/pull_format.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
uses: superbrothers/close-pull-request@v3
|
uses: superbrothers/close-pull-request@v3
|
||||||
with:
|
with:
|
||||||
# Optional. Post a issue comment just before closing a pull request.
|
# Optional. Post a issue comment just before closing a pull request.
|
||||||
comment: "Invalid PR to non-dev branch ${{ github.event.pull_request.base.ref }}."
|
comment: "Invalid PR to `non-dev` branch `${{ github.event.pull_request.base.ref }}`."
|
||||||
|
|
||||||
pull_format:
|
pull_format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
6
.github/workflows/push_format.yml
vendored
6
.github/workflows/push_format.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
|||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m "chore(format): run black"
|
git commit -m "chore(format): run black on ${{github.ref_name}}"
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.commitback.outcome == 'success'
|
if: steps.commitback.outcome == 'success'
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
body: "Automatically apply code formatter change"
|
body: "Automatically apply code formatter change"
|
||||||
title: "chore(format): run black"
|
title: "chore(format): run black on ${{github.ref_name}}"
|
||||||
commit-message: "chore(format): run black"
|
commit-message: "chore(format): run black on ${{github.ref_name}}"
|
||||||
branch: formatter-${{github.ref_name}}
|
branch: formatter-${{github.ref_name}}
|
||||||
branch-suffix: short-commit-hash
|
branch-suffix: short-commit-hash
|
||||||
|
Loading…
Reference in New Issue
Block a user