Skip to content

Commit

Permalink
Update create-tag.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Nov 3, 2023
1 parent a6d4bca commit 222e206
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/create-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
user: kubbot # 将 "username" 替换为您想要使用的 GitHub 用户名

- name: Set up Git user
run: |
git config user.name "kubbot" # 将 "Your Name" 替换为您想要使用的名字
git config user.email "[email protected]" # 将 "[email protected]" 替换为您想要使用的邮箱地址
- name: Create Tag
run: |
Expand All @@ -31,5 +39,6 @@ jobs:
git config user.email "[email protected]"
git tag -a $TAG -m "$COMMENT"
git push origin $TAG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}

0 comments on commit 222e206

Please sign in to comment.