Daily update: one branch per run #7
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user