diff --git a/.gitea/workflows/update-sources.yml b/.gitea/workflows/update-sources.yml index b38b80f..c2bc410 100644 --- a/.gitea/workflows/update-sources.yml +++ b/.gitea/workflows/update-sources.yml @@ -73,7 +73,8 @@ jobs: env: ATLAS_BOT_TOKEN: ${{ secrets.ATLAS_BOT_TOKEN }} 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.email "atlas-bot@noreply.localhost" git checkout -b "$branch"