feat: optimize actions

This commit is contained in:
源文雨
2023-09-23 13:57:39 +09:00
parent 937d748c67
commit 83feaa7300
3 changed files with 7 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
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
if: steps.commitback.outcome == 'success'
@@ -47,7 +47,7 @@ jobs:
with:
delete-branch: true
body: "Automatically apply code formatter change"
title: "chore(format): run black"
commit-message: "chore(format): run black"
title: "chore(format): run black on ${{github.ref_name}}"
commit-message: "chore(format): run black on ${{github.ref_name}}"
branch: formatter-${{github.ref_name}}
branch-suffix: short-commit-hash