Skip to content

ci: Add warning for people self-assigning XLS numbers#513

Open
mvadari wants to merge 4 commits intomasterfrom
ci-preassigned
Open

ci: Add warning for people self-assigning XLS numbers#513
mvadari wants to merge 4 commits intomasterfrom
ci-preassigned

Conversation

@mvadari
Copy link
Copy Markdown
Collaborator

@mvadari mvadari commented Apr 8, 2026

High Level Overview of Change

Title pretty much says it all

Context of Change

People keep forgetting the new process

Type of Change

  • Infrastructure (CI, workflows, scripts, website)

Copy link
Copy Markdown
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

Adds an automated PR comment warning when a pull request introduces a numbered XLS-####-* directory directly (instead of using the XLS-draft-* convention), to reinforce the “CI assigns numbers” process.

Changes:

  • Add a new workflow job that detects newly added numbered XLS README files and posts a warning comment on the PR.
  • Add comment de-duplication by updating an existing bot warning comment when present.

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

- name: Get added numbered XLS files
id: added-numbered
uses: tj-actions/changed-files@v47
with:
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

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

tj-actions/changed-files is being used here without a prior checkout (unlike the other usage in this workflow and in validate-xls.yml). Unless you explicitly configure changed-files to use the PR REST API, this step typically requires a git working tree to diff against and will fail or produce empty results. Either add a checkout step (ideally of the base ref for pull_request_target, if you want to avoid checking out fork code) or configure changed-files to use the GitHub API for PR file listing.

Suggested change
with:
with:
use_rest_api: true

Copilot uses AI. Check for mistakes.
mvadari and others added 3 commits April 8, 2026 15:19
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants