We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503684a commit 05c2274Copy full SHA for 05c2274
.github/scripts/test_discovery.py
@@ -62,7 +62,7 @@ def _get_changed_files(self, base_ref: Optional[str] = None) -> List[str]:
62
pr_head = os.environ.get('GITHUB_HEAD_HEAD') # PRs
63
branch = os.environ.get('GITHUB_REF_NAME') # pushes
64
65
- # For maintenance branches (cherry-picks), get files from the commit itself
+ # For maintenance branches (cherry-picks), always use git show HEAD regardless of base_ref
66
if branch and branch.endswith('.x'):
67
# Maintenance branch - cherry-picks are single commits, just get files in this commit
68
cmd = ["git", "show", "--name-only", "--format=", "HEAD"]
0 commit comments