Skip to content

Commit

Permalink
chore: add another branch pattern to cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan authored Sep 30, 2024
1 parent 025ba6f commit d526862
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/delete-old-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
- name: Delete old branches from when we used to build providers against cdktf@next
run: git branch -r | egrep -o "cdktf-next-pr.*" | xargs -n 1 git push origin --delete
continue-on-error: true # don't fail the run if these branches never existed
- name: Delete old temporary branches from previous repo-manager runs
run: git branch -r | egrep -o "foo-bar.*" | xargs -n 1 git push origin --delete
- name: Delete old renovate branches that were never used
run: git branch -r | egrep -o ".*renovate.*" | xargs -n 1 git push origin --delete
continue-on-error: true # don't fail the run if these branches never existed
Expand Down

0 comments on commit d526862

Please sign in to comment.