From d212e2c8761043ea8dd282b5a79ffdf84ed961bb Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Mon, 6 Apr 2026 10:11:37 -0400 Subject: [PATCH] Remove manual CHANGELOG.md process The CHANGELOG.md file has been a source of merge conflicts and has still resulted in poor quality release notes. Release notes will now be generated from PR and commit metadata instead. Signed-off-by: Craig Perkins --- .github/workflows/changelog_verifier.yml | 18 ------------------ .github/workflows/dependabot_pr.yml | 18 ++++-------------- CHANGELOG.md | 24 ++++-------------------- 3 files changed, 8 insertions(+), 52 deletions(-) delete mode 100644 .github/workflows/changelog_verifier.yml diff --git a/.github/workflows/changelog_verifier.yml b/.github/workflows/changelog_verifier.yml deleted file mode 100644 index 21fd7efbe..000000000 --- a/.github/workflows/changelog_verifier.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: "Changelog Verifier" -on: - pull_request: - types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] - -jobs: - # Enforces the update of a changelog file on every pull request - verify-changelog: - if: github.repository == 'opensearch-project/security-dashboards-plugin' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ github.event.pull_request.head.sha }} - - uses: dangoslen/changelog-enforcer@v3 - with: - skipLabels: "autocut, skip-changelog" diff --git a/.github/workflows/dependabot_pr.yml b/.github/workflows/dependabot_pr.yml index 1cf3b2109..2ca72adbb 100644 --- a/.github/workflows/dependabot_pr.yml +++ b/.github/workflows/dependabot_pr.yml @@ -22,17 +22,7 @@ jobs: token: ${{ steps.github_app_token.outputs.token }} ref: ${{ github.head_ref }} - - name: Update the changelog - uses: dangoslen/dependabot-changelog-helper@v4 - with: - version: 'Unreleased 3.x' - sectionHeader: "Maintenance" - - - name: Commit the changes - uses: stefanzweifel/git-auto-commit-action@v7 - with: - commit_message: "Update changelog" - branch: ${{ github.head_ref }} - commit_user_name: dependabot[bot] - commit_user_email: support@github.com - commit_options: '--signoff' + - name: Add skip-changelog label + run: gh pr edit "${{ github.event.pull_request.html_url }}" --add-label "skip-changelog" + env: + GITHUB_TOKEN: ${{ steps.github_app_token.outputs.token }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 57db0f9a8..e13708ee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,7 @@ # CHANGELOG -All notable changes to this project are documented in this file. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to the [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See the [CONTRIBUTING guide](./CONTRIBUTING.md#Changelog) for instructions on how to add changelog entries. +As of the 3.6 release [the CHANGELOG is no longer used](https://github.com/opensearch-project/OpenSearch/issues/21071) to generate release notes. +[Use this PR search](https://github.com/opensearch-project/security-dashboards-plugin/pulls?q=sort%3Amerged-desc+is%3Apr+-label%3Askip-changelog+is%3Amerged+base%3Amain+) to browse unreleased changes. -## [Unreleased 3.x] - -### Features - -### Enhancements - -### Bug Fixes - -### Refactoring - -### Maintenance -- Remove transport_enabled column from the authentication sequence table ([#2363](https://github.com/opensearch-project/security-dashboards-plugin/pull/2363)) -- React 18 Upgrade ([#2371](https://github.com/opensearch-project/security-dashboards-plugin/issues/2371)) -- Force resolution of basic-ftp to 5.2.0 ([#2374](https://github.com/opensearch-project/security-dashboards-plugin/issues/2374)) - -### Documentation - -[Unreleased 3.x]: https://github.com/opensearch-project/security-dashboards-plugin/compare/3.5...main +Release notes are now auto-generated from PR metadata at release time using an LLM-based pipeline in [opensearch-build](https://github.com/opensearch-project/opensearch-build). +See the [release notes workflow](https://github.com/opensearch-project/opensearch-build/blob/main/src/release_notes_workflow/README.md) for details.