Skip to content

Commit 26c0ee9

Browse files
authored
Merge pull request #9 from Atotti/fix/github-actions-commit-user
GitHub Actions workflowのGit設定を変更
2 parents c1a8c3f + c736264 commit 26c0ee9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/update-progress.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,15 @@ jobs:
3838
python -m pip install -r .automation/requirements.txt
3939
python .automation/make_progress.py
4040
41-
- name: Configure your Git username/email
41+
- name: Configure github-actions bot Git config
4242
run: |
43-
git config user.name ${NAME}
44-
git config user.email ${EMAIL}
45-
env:
46-
NAME: "taishi-n"
47-
43+
git config user.name 'github-actions[bot]'
44+
git config user.email 'github-actions[bot]@users.noreply.github.com'
4845
4946
- name: Commit ${{ env.FILE_NAME }}
5047
run: |
5148
git add $FILE_NAME
5249
git diff-index --quiet HEAD || git commit -m "bot: Update progress"
5350
git push
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

progress.png

0 Bytes
Loading

0 commit comments

Comments
 (0)