Skip to content

ci: adds validation and message for changelog entry#7987

Open
baywet wants to merge 1 commit into
mainfrom
ci/changelog-message
Open

ci: adds validation and message for changelog entry#7987
baywet wants to merge 1 commit into
mainfrom
ci/changelog-message

Conversation

@baywet

@baywet baywet commented Jul 24, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Vincent Biret vibiret@microsoft.com

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Copilot AI review requested due to automatic review settings July 24, 2026 19:12
@baywet
baywet requested a review from a team as a code owner July 24, 2026 19:12
@baywet baywet self-assigned this Jul 24, 2026
@baywet
baywet enabled auto-merge July 24, 2026 19:12
@msgraph-bot msgraph-bot Bot added this to Kiota Jul 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitHub Actions workflow to automatically detect whether a PR introduces a new CHANGELOG.md entry under ## [Unreleased] and, if missing, posts a guidance comment to the PR. This improves contributor experience and helps keep release notes consistently updated.

Changes:

  • Adds a PowerShell helper script to extract and compare ## [Unreleased] bullet entries between base and head changelog versions.
  • Introduces a pull_request_target workflow that fetches base/head CHANGELOG.md via the GitHub API, runs the script, and comments when no new entry is found.
  • Updates CONTRIBUTING.md to clarify where to place changelog entries.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
scripts/check-changelog-entry.ps1 Implements parsing/comparison logic for ## [Unreleased] changelog entries.
CONTRIBUTING.md Clarifies changelog entry placement under ## [Unreleased] (### Added / ### Changed).
.github/workflows/changelog-entry.yml Adds CI workflow to check for a new changelog entry and comment when missing.

$baseEntries = @(Get-UnreleasedEntries -changelogPath $baseChangelogPath)
$headEntries = @(Get-UnreleasedEntries -changelogPath $headChangelogPath)

return $headEntries.Count -gt $baseEntries.Count
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall coverage in commit ace3fea in the ci/changelog-message branch is 72%. Coverage data for the main branch is not yet available.

Show a code coverage summary of the most covered files.
File main ci/changelog-message ace3fea +/-
/home/runner/wo...guageRefiner.cs 98%
/home/runner/wo...criptRefiner.cs 98%
/home/runner/wo...MethodWriter.cs 97%
/home/runner/wo...MethodWriter.cs 96%
/home/runner/wo...MethodWriter.cs 96%
/home/runner/wo...MethodWriter.cs 95%
/home/runner/wo...rs/GoRefiner.cs 94%
/home/runner/wo...KiotaBuilder.cs 90%
/home/runner/wo...ationService.cs 89%
/home/runner/wo...xGenerator.g.cs 75%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants