Add Chronus CI workflow and update changelog docs to reference azpysdk changelog#46585
Draft
Add Chronus CI workflow and update changelog docs to reference azpysdk changelog#46585
azpysdk changelog#46585Conversation
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/5b569801-2fe6-444b-9f82-e75c3eff1f9b Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/5b569801-2fe6-444b-9f82-e75c3eff1f9b Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
l0lawrence
April 28, 2026 19:36
View session
31ca2ca to
3c3c6aa
Compare
On chronus-verify failure, post a sticky PR comment instructing the contributor to comment '/chronus add [kind]' for a one-click fix. Add chronus-fix.yml: an issue_comment-triggered workflow that verifies commenter permissions, rejects fork PRs (security), parses the requested kind, runs 'chronus add <package> --kind X --message <PR title>' for each missing package, and pushes the result back to the PR branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ghter perms - Pin actions/checkout, setup-node, github-script to SHA + version comment. - chronus-fix: restore .github/chronus from base branch before npm ci/run, so PR-head changes to the tooling cannot execute under the write token. - persist-credentials: false on both checkouts; push uses an explicit x-access-token URL only at push time. - Permissions: verify drops pull-requests:write for issues:write only; fix drops pull-requests:write to pull-requests:read. - Slash command parsed by strict regex; rejects /chronus additive etc. - Add concurrency groups on both workflows. - Consolidate 4 small github-script steps into one auth+metadata step. - Merge 4 terminal reply steps into one always() switch step. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
l0lawrence
pushed a commit
that referenced
this pull request
May 1, 2026
Touches sdk/template/azure-template without a chronus changelog entry to confirm the new chronus-verify workflow posts the sticky one-click-fix comment. This branch will be closed without merging. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
This PR delivers what #45803 originally set out to do — CI enforcement of Chronus change descriptions — updated to reflect the
azpysdk changelogcommand that has since been added to the repo.What changed since PR #45803
.github/package.json.github/chronus/package.json(already in repo).github/pnpm-lock.yaml.github/chronus/package-lock.json(already in repo)npx chronus addazpysdk changelog add(withnpx chronusas fallback)Changes
.github/workflows/chronus-verify.yml(new)mainthat touchsdk/*/*/**azure-sdkbot (automated release PRs).github/chronus/package-lock.jsonvianpm cichronus verifyfrom the repo rootazpysdk changelog addand the docsdoc/dev/changelog_updates.md(updated)azpysdk changelog(add / verify / status / create) as the primary toolnpx chronuscommands as alternatives for users withoutazpysdkinstalled