diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..7ca05b534 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,17 @@ +name: Verify Changelog +on: + pull_request: + types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] + +jobs: + verify-changelog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + 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/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..25429e04d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# CHANGELOG + +Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) + +## [Unreleased] + +### Added + +- Added CHANGELOG ([#309](https://github.com/opensearch-project/opensearch-api-specification/pull/309)) + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +[Unreleased]: https://github.com/opensearch-project/opensearch-api-specification/commits/main/