Skip to content

Delete existing branch and PR in update-spring-dependencies.yml#41

Merged
rujche merged 6 commits intomainfrom
rujche/main/delete-branch-if-it-already-exist-in-update-spring-dependencies
Feb 27, 2026
Merged

Delete existing branch and PR in update-spring-dependencies.yml#41
rujche merged 6 commits intomainfrom
rujche/main/delete-branch-if-it-already-exist-in-update-spring-dependencies

Conversation

@rujche
Copy link
Member

@rujche rujche commented Feb 27, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the scheduled Spring dependency update workflow to proactively clean up any prior automation artifacts (branch + PR) before proceeding, so subsequent runs can create a fresh update PR.

Changes:

  • When the update-spring-dependencies branch already exists, close any existing PRs from that branch and delete the remote branch.
  • Move the “is an update needed?” checks to run regardless of whether an old branch existed.
  • Add GH_TOKEN env for GitHub CLI authentication in the workflow step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rujche rujche added this to the 2026-03 milestone Feb 27, 2026
@rujche rujche force-pushed the rujche/main/delete-branch-if-it-already-exist-in-update-spring-dependencies branch from 7f39345 to 3e7977a Compare February 27, 2026 06:17
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Spring Cloud Azure Feb 27, 2026
@rujche rujche merged commit de57513 into main Feb 27, 2026
3 checks passed
@rujche rujche deleted the rujche/main/delete-branch-if-it-already-exist-in-update-spring-dependencies branch February 27, 2026 06:52
@github-project-automation github-project-automation bot moved this from In Progress to Done in Spring Cloud Azure Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants