Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat/verify upstream before push#1360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
codejedi365 wants to merge8 commits intopython-semantic-release:master
base:master
Choose a base branch
Loading
fromcodejedi365:feat/verify-upstream-before-push

Conversation

@codejedi365
Copy link
Contributor

Purpose

Rationale

How did you test?

How to Verify


PR Completion Checklist

  • Reviewed & followed theContributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow theConventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • Appropriate Unit tests added/updated

  • Appropriate End-to-End tests added/updated

  • Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

@codejedi365codejedi365force-pushed thefeat/verify-upstream-before-push branch 2 times, most recently from1a5242d to17114adCompareNovember 5, 2025 06:17
Copy link

CopilotAI 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

This PR integrates upstream branch verification directly into Python Semantic Release, eliminating the need for external shell scripts in CI/CD workflows. The implementation adds a newverify_upstream_unchanged() method that checks if the upstream branch has changed before pushing commits, preventing push conflicts when multiple developers are working on the same branch.

  • Adds new error types for handling upstream verification failures
  • Implements upstream verification logic in theGitProject class
  • Integrates verification into the version command before pushing changes
  • Updates documentation to reflect the new built-in verification

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
src/semantic_release/errors.pyAdds three new error classes for upstream verification failures
src/semantic_release/gitproject.pyImplements theverify_upstream_unchanged() method with upstream branch verification logic
src/semantic_release/cli/commands/version.pyIntegrates upstream verification check before pushing changes
tests/unit/semantic_release/test_gitproject.pyAdds comprehensive unit tests for the new verification method
tests/e2e/cmd_version/test_version_upstream_check.pyAdds end-to-end tests for upstream verification scenarios
docs/configuration/automatic-releases/github-actions.rstRemoves manual upstream verification step from documentation and adds note about built-in verification
docs/configuration/configuration-guides/uv_integration.rstRemoves manual upstream verification script reference
docs/api/commands.rstDocuments the new automatic upstream verification behavior

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

@codejedi365codejedi365force-pushed thefeat/verify-upstream-before-push branch 2 times, most recently from9d6583a to292315dCompareNovember 6, 2025 05:10
CopilotAIand others added8 commitsNovember 6, 2025 01:49
@codejedi365codejedi365force-pushed thefeat/verify-upstream-before-push branch from292315d toc30b7fdCompareNovember 6, 2025 08:50
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@codejedi365

[8]ページ先頭

©2009-2025 Movatter.jp