Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the XLS number assignment automation so it calculates the next XLS number from the PR’s repository contents (instead of the sparse-checked-out base-branch script folder), addressing cases where it previously always returned 96.
Changes:
- Pass the PR workspace root into the assignment step via
REPO_ROOT. - Update
assign_xls_number.pyto preferREPO_ROOT(with a fallback to deriving the path from the script location). - Add additional env vars to the workflow step (not all appear to be used).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/assign-xls-number.yml |
Exports REPO_ROOT (and other env vars) for the assignment step so the script can scan the correct checkout. |
.github/scripts/assign_xls_number.py |
Uses REPO_ROOT env var to determine the repository root when computing the next available XLS number. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Tapanito
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
High Level Overview of Change
This PR fixes an issue in the XLS assign bot where it wasn't looking at the right folder/repo.
Context of Change
The XLS assign bot is a bit broken - it returned
96in #477 when it should have returned97Type of Change