Skip to content

Comments

✨ Update branch creation logic to skip when no changes and amend is false#182

Merged
ChristophShyper merged 3 commits intomasterfrom
feature/dont-create-branch
Feb 18, 2026
Merged

✨ Update branch creation logic to skip when no changes and amend is false#182
ChristophShyper merged 3 commits intomasterfrom
feature/dont-create-branch

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 18, 2026

📝 Brief description

✨ Update branch creation logic to skip when no changes and amend is false
fix buildx action
🐛 Fix branch resolving

💻 Commits

  • e63633a - ChristophShyper - 2026-02-18 20:45:19
    | 🐛 Fix branch resolving
    |
  • 4436b06 - ChristophShyper - 2026-02-18 20:02:15
    | fix buildx action
    |
  • 1f15756 - ChristophShyper - 2026-02-18 19:58:53
    ✨ Update branch creation logic to skip when no changes and amend is false

📁 Modified files

.github/workflows/auto-create-pull-request.yml | 2 -
.github/workflows/auto-create-release.yml | 2 -
.github/workflows/cron-check-dependencies.yml | 2 -
README.md | 2 +-
action.yml | 2 +-
entrypoint.sh | 164 ++++++++++++++-----------
6 files changed, 93 insertions(+), 81 deletions(-)

⚠️ Additional information

  • Pushed to a branch with a proper name and provided proper commit message.
  • Provided a clear and concise description of what the issue is.

Check CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information

@ChristophShyper
Copy link
Member

Addresses #181

Copy link
Contributor

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 action’s branch-creation behavior so it can no-op when there are no staged changes and amend is false, and adjusts CI workflows related to Docker Buildx setup.

Changes:

  • Add SKIP_BRANCH_CREATION flow in entrypoint.sh to skip branch creation (and normal push) when there are no changes and amend is false.
  • Document the updated target_branch behavior in action.yml and README.md.
  • Remove install: true from docker/setup-buildx-action@v3 usage in GitHub workflows.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
entrypoint.sh Introduces skip logic for branch creation/push when there are no changes and amend is disabled.
action.yml Updates target_branch input description to reflect skip behavior.
README.md Updates target_branch documentation to reflect skip behavior.
.github/workflows/auto-create-pull-request.yml Removes Buildx install: true configuration.
.github/workflows/auto-create-release.yml Removes Buildx install: true configuration.
.github/workflows/cron-check-dependencies.yml Removes Buildx install: true configuration.

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

@ChristophShyper ChristophShyper merged commit ea9308d into master Feb 18, 2026
3 checks passed
@ChristophShyper ChristophShyper deleted the feature/dont-create-branch branch February 18, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant