Merge pull request 'Daily update: one branch per run' (#7) from fix/daily-branch-name into main
CI / test (push) Successful in 1m31s
CI / test (push) Successful in 1m31s
This commit was merged in pull request #7.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user