Add confirmation prompts for app registration changes #462
release-drafter.yml
on: pull_request
update_release_draft
16s
Annotations
2 errors and 5 warnings
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:56365:18)
{
name: 'AggregateError',
event: {
id: '23670807929',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '988a64391d70cd5d9d4869d9bfc657b16b99ab07',
before: 'b03a45d337a76012841fa2bdee6a177540b13acc',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1578?v=4',
created_at: '2019-12-09T02:41:53Z',
description: "Microsoft's organizations for open source collaboration",
html_url: 'https://github.com/enterprises/microsoftopensource',
id: 1578,
name: 'Microsoft Open Source',
node_id: 'MDEwOkVudGVycHJpc2UxNTc4',
slug: 'microsoftopensource',
updated_at: '2025-08-12T20:59:29Z',
website_url: 'https://opensource.microsoft.com'
},
number: 325,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/6154722?v=4',
description: 'Open source projects and samples from Microsoft',
events_url: 'https://api.github.com/orgs/microsoft/events',
hooks_url: 'https://api.github.com/orgs/microsoft/hooks',
id: 6154722,
issues_url: 'https://api.github.com/orgs/microsoft/issues',
login: 'microsoft',
members_url: 'https://api.github.com/orgs/microsoft/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=',
public_members_url: 'https://api.github.com/orgs/microsoft/public_members{/member}',
repos_url: 'https://api.github.com/orgs/microsoft/repos',
url: 'https://api.github.com/orgs/microsoft'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/issues/325/comments'
},
commits: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/pulls/325/commits'
},
html: {
href: 'https://github.com/microsoft/Agent365-devTools/pull/325'
},
issue: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/issues/325'
},
review_comment: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/pulls/325/comments'
},
self: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/pulls/325'
},
statuses: {
href: 'https://api.github.com/repos/microsoft/Agent365-devTools/statuses/988a64391d70cd5d9d4869d9bfc657b16b99ab07'
}
},
active_lock_reason: null,
additions: 579,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: '* Add confirmation prompts for app registration changes\n' +
'\n' +
'- Prompt user before mutating app registrations; add --yes flag to skip prompts for CI/non-interactive use\n' +
'- Show mutation summary before applying changes (permissions, redirect URIs, public client flows)\n' +
'- Improve error and warning logging for requirement checks\n' +
'- Propagate OperationCanceledException for clean Ctrl+C exits\n' +
'- Enhance ClientAppValidator with read-only mutation checks and consent helpers\n' +
'- Expand documentation and update tests for new behaviors\n' +
'\n' +
'* Fix PR comments.\n' +
'Improve error handling for AAD app config checks\n' +
'\n' +
'Switch to fail-closed l
|
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '23670807929',
status: 422,
response: {
url: 'https://api.github.com/repos/microsoft/Agent365-devTools/releases/285902629',
status: 422,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 27 Mar 2026 22:51:50 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': '9819:2992E0:187E2B2:63D531A:69C70A06',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14919',
'x-ratelimit-reset': '1774653856',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '81',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/microsoft/Agent365-devTools/releases/285902629',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.20.1 (linux; x64)',
'x-github-delivery': '23670807929',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## What\'s Changed\\n\\n- fix: replace az CLI token acquisition with MSAL.NET to eliminate proy resets (#324)\\n- fix: automatic device code fallback when Conditional Access Policy blocks browser/WAM auth (#294) (#323)\\n- feat: non-admin setup flow, a365 setup admin command, and cleanup 403 fixes (#320)\\n- feat: add notice system for CLI security and upgrade announcements (#316)\\n- cleanup: remove service references from docs and code (#317)\\n- fix: publish command now packages manifest and provides manual upload instructions (#315)\\n- feat: unify prerequisite validation via IRequirementCheck + IPrerequisiteRunner (#106) (#312)\\n- fix: MOS token device code fallback for macOS/Linux + remove dead AzureWebAppCreator (#314)\\n- Remove redundant usage documentation (#311)\\n- Fix agentBlueprintClientSecret being nulled out on subsequent `setup blueprint` runs (#302)\\n- fix: device code fallback for macOS browser auth and cross-platform URL opening (#309)\\n- fix: correct mock MCP tool names to match real M365 server contracts (#301)\\n- Fix: agenticUserTemplateManifest.json missing from zip on repeated publish runs (#286)\\n- fix: cleanup agent instances in a365 cleanup blueprint (#284)\\n- fix: prevent InternalServerError loop when --update-endpoint fails on create (#304)\\n- feat: add custom blueprint permissions configuration and management (#298)\\n- fix: PS 5.1 install compatibility and macOS auth testability follow-up (#292)\\n- Split setup requirements checks; improve guidance \\\\& errors (#293)\\n- Improve blueprint app creation, secret flow (#288)\\n- fix: correct endpoint name derivation for needsDeployment=false and surface exceptions properly (#296)\\n- Ensure globally unique end
|
|
update_release_draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|