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

gh-133410: Fix PR detection in build workflow#133671

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

Merged
hugovk merged 1 commit intopython:mainfromhugovk:3.15-fix-ci
May 15, 2025

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedMay 8, 2025
edited
Loading

@hugovkhugovk added skip news infraCI, GitHub Actions, buildbots, Dependabot, etc. labelsMay 8, 2025
@hugovkhugovk marked this pull request as ready for reviewMay 8, 2025 20:33
@hugovkhugovk requested a review from1st1 as acode ownerMay 8, 2025 20:33
Copy link
Member

@sobolevnsobolevn left a comment

Choose a reason for hiding this comment

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

LGTM, one optional nit

@@ -57,7 +57,7 @@ class Outputs:

def compute_changes() -> None:
target_branch, head_ref = git_refs()
iftarget_branch and head_ref:
ifos.environ.get("GITHUB_EVENT_NAME", "") == "pull_request":
Copy link
Member

Choose a reason for hiding this comment

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

I think that this should beand

Suggested change
ifos.environ.get("GITHUB_EVENT_NAME","")=="pull_request":
if(
target_branch
andhead_ref
andos.environ.get("GITHUB_EVENT_NAME","")=="pull_request"
):

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

See#133410 (comment), the original problem is thattarget_branch andhead_ref are always be truthy, so I don't think we need to check them.

@hugovkhugovk merged commit319acf3 intopython:mainMay 15, 2025
48 checks passed
@hugovkhugovk deleted the 3.15-fix-ci branchMay 15, 2025 13:10
@hugovkhugovk added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMay 15, 2025
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 15, 2025
(cherry picked from commit319acf3)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 15, 2025
(cherry picked from commit319acf3)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app
Copy link

GH-134054 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 15, 2025
@bedevere-app
Copy link

GH-134055 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 15, 2025
hugovk added a commit that referenced this pull requestMay 15, 2025
…4055)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull requestMay 15, 2025
…4054)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@hugovkhugovk added the needs backport to 3.12only security fixes labelMay 15, 2025
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 15, 2025
(cherry picked from commit319acf3)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app
Copy link

GH-134057 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelMay 15, 2025
hugovk added a commit that referenced this pull requestMay 15, 2025
…4057)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@sobolevnsobolevnsobolevn approved these changes

@1st11st1Awaiting requested review from 1st11st1 is a code owner

Assignees
No one assigned
Labels
infraCI, GitHub Actions, buildbots, Dependabot, etc.skip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@sobolevn

[8]ページ先頭

©2009-2025 Movatter.jp