Skip to content

Commit 6427845

Browse files
better workflow
1 parent 9dd5742 commit 6427845

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/daily-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
git config user.email "github-actions[bot]@users.noreply.github.com"
6868
git add cloud_providers_v2.json README.md
6969
git commit -m "chore: daily signature update $(date -u +%Y-%m-%d)"
70+
# Delete remote branch if it exists from a previous failed run
71+
git push origin --delete "$BRANCH" 2>/dev/null || true
7072
git push origin "$BRANCH"
7173
gh pr create --base stable --head "$BRANCH" \
7274
--title "chore: daily signature update $(date -u +%Y-%m-%d)" \

0 commit comments

Comments
 (0)