Skip to content

Commit

Permalink
Botのコミットになるよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yukilabo committed May 28, 2024
1 parent 037107b commit dc04df1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release-latest-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
node-version: "20"
- name: Checkout release
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout release
git merge origin/main --no-commit --no-ff
- name: Cache npm
Expand All @@ -40,8 +40,4 @@ jobs:
git diff-index --quiet HEAD || (git commit -m"update build ${{ github.run_number }}" && git tag latest -f)
- name: Push changes
run: |
git push \
"https://${{ github.actor }}:${{ secrets.MY_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" \
HEAD:release \
-f \
--tags
git push origin release -f --tags

0 comments on commit dc04df1

Please sign in to comment.