Merge pull request #624 from wray-lee/dev

修改action中的bot邮箱和username,便于区分手动运行和action
This commit is contained in:
juewuy
2024-04-16 07:08:11 +08:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ jobs:
- name: Commit and push
run: |
git config --global user.email "juewuy@gmail.com" && git config --global user.name "Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
git add . && git commit -m "自动更新最新Dashboard、地址库、根证书" || exit 0
git push

View File

@@ -53,7 +53,7 @@ jobs:
- name: Commit and push
if: ${{ github.event.inputs.release_type != '内测版' }}
run: |
git config --global user.email "juewuy@gmail.com" && git config --global user.name "Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
git add . && git commit -m "${new_type} ${new_version} 打包" || exit 0
git push
if [[ "${new_type}" == "正式版" ]]; then

View File

@@ -178,7 +178,7 @@ jobs:
mv -f ./tmp/clash-linux-*.tar.gz ./bin/${crashcore}/
rm -fr ./tmp
sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version
git config --global user.email "juewuy@gmail.com" && git config --global user.name "Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0
git push

View File

@@ -214,7 +214,7 @@ jobs:
mv -f ./tmp/singbox-linux-*.tar.gz ./bin/${crashcore}/
rm -fr ./tmp
sed -i "s/${crashcore}_v=.*/${crashcore}_v=${VERSION}/" ./bin/version
git config --global user.email "juewuy@gmail.com" && git config --global user.name "Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com" && git config --global user.name "github-actions[bot]"
git add . && git commit -m "更新${crashcore}内核至${VERSION}" || exit 0
git push