Skip to content

Commit db6034b

Browse files
committed
Update main.yml
1 parent 6cdccd5 commit db6034b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
- cron: '0 1 * * *'
66

77
workflow_dispatch:
8-
push:
9-
branches:
10-
- main
8+
# push:
9+
# branches:
10+
# - main
1111

1212
jobs:
1313
build:
@@ -103,6 +103,12 @@ jobs:
103103
echo "Telemetry: $(cat ./stats/telemetry_count.txt)" >> ./stats/list-entries-stats.txt
104104
rm ./stats/*_count.txt
105105
106+
# Add this step to pull/rebase before committing
107+
- name: Pull latest changes
108+
run: |
109+
git config user.name "github-actions[bot]"
110+
git config user.email "github-actions[bot]@users.noreply.github.com"
111+
git pull --rebase origin main
106112
- name: Start commit change
107113
run: echo "MSG=Updated at $(date +"%Y%m%d")" >> $GITHUB_ENV
108114

0 commit comments

Comments
 (0)