Skip to content

Commit

Permalink
Merge pull request #9 from NightRainMilkyWay/main
Browse files Browse the repository at this point in the history
使用GitHub bot区分提交记录
  • Loading branch information
NightRainMilkyWay authored Oct 6, 2024
2 parents 6201997 + e507f36 commit 0ca327b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/Create Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ jobs:
git add .
git commit -m "Update HADE"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}git@github.com:TimeBreeze/Tritium.git main
- name: 同步 repo
run: |
rm -rf ./*.zip
cd clones/org/repo1
bash -c 'if [ $(git status --porcelain | wc -l) -eq 0 ]; then
echo "工作树无变更,跳过提交步骤..."
else
echo "提交文件中..."
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore(generated): GitHub Actions Bot 提交的记录"
git log -3 --oneline
echo "推送更新中..."
git push
fi'

0 comments on commit 0ca327b

Please sign in to comment.