Skip to content

Commit ae43a99

Browse files
Merge pull request #232 from blacklanternsecurity/dev
better workflow
2 parents 81021a8 + 6427845 commit ae43a99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.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)