Daily update: one branch per run #7

Merged
kathleen merged 1 commits from fix/daily-branch-name into main 2026-11-17 23:38:33 +00:00
Showing only changes of commit bd89a8941b - Show all commits
+2 -1
View File
@@ -73,7 +73,8 @@ jobs:
env: env:
ATLAS_BOT_TOKEN: ${{ secrets.ATLAS_BOT_TOKEN }} ATLAS_BOT_TOKEN: ${{ secrets.ATLAS_BOT_TOKEN }}
run: | run: |
branch="data/source-update-$(date -u +%Y%m%d)" # one branch per run: a second run on the same day (or a leftover branch) never blocks the push
branch="data/source-update-$(date -u +%Y%m%d)-run${{ github.run_number }}"
git config user.name "Atlas data bot" git config user.name "Atlas data bot"
git config user.email "atlas-bot@noreply.localhost" git config user.email "atlas-bot@noreply.localhost"
git checkout -b "$branch" git checkout -b "$branch"