Skip to content

Commit e1e0a80

Browse files
authored
chore: git bot config
1 parent aaa339e commit e1e0a80

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/simulate-events-daily.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,31 @@ jobs:
3232
run: |
3333
python simulate-video-learning-events.py
3434
35+
- name: GitHub Actor
36+
env:
37+
GITHUB_ACTOR: ${{ github.actor }}
38+
run: echo "$GITHUB_ACTOR"
39+
40+
- name: GitHub Triggering Actor
41+
env:
42+
GITHUB_TRIGGERING_ACTOR: ${{ github.triggering_actor }}
43+
run: echo "$GITHUB_TRIGGERING_ACTOR"
44+
3545
- name: Git Config
3646
run: |
37-
git config user.name 'Nya Ξlimu'
38-
git config user.email '[email protected]'
47+
git config user.name github-actions[bot]
48+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
49+
3950
- name: Git Commit
4051
run: |
4152
git add **/*.csv
4253
git commit -m 'chore(ml): simulate events' --allow-empty
54+
55+
- name: Git Pull
56+
run: |
57+
git fetch
58+
git pull
59+
4360
- name: Git Push
4461
run: |
4562
git push

0 commit comments

Comments
 (0)