-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add changelog verifier workflow (#974)
Signed-off-by: Owais <[email protected]> (cherry picked from commit 0645781) Signed-off-by: Owais <[email protected]>
- Loading branch information
1 parent
b8e94a9
commit 7e89215
Showing
3 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
Viewed | ||
Original file line number Diff line number Diff line change | ||
@@ -0,0 +1,23 @@ | ||
name: "Changelog Verifier" | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'whitesource-remediate/**' | ||
- 'backport/**' | ||
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/anomaly-detection' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- uses: dangoslen/changelog-enforcer@v3 | ||
with: | ||
skipLabels: "autocut, skip-changelog" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# CHANGELOG | ||
All notable changes to this project are documented in this file. | ||
|
||
Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) | ||
|
||
## [Unreleased 3.0](https://github.com/opensearch-project/anomaly-detection/compare/2.x...HEAD) | ||
### Features | ||
### Enhancements | ||
### Bug Fixes | ||
### Infrastructure | ||
|
||
### Documentation | ||
|
||
### Maintenance | ||
### Refactoring | ||
|
||
## [Unreleased 2.x](https://github.com/opensearch-project/anomaly-detection/compare/2.19...2.x) | ||
### Features | ||
|
||
|
||
### Enhancements | ||
- Github workflow for changelog verification ([#974](https://github.com/opensearch-project/anomaly-detection/pull/974)) | ||
### Bug Fixes | ||
|
||
### Infrastructure | ||
### Documentation | ||
### Maintenance | ||
### Refactoring |
This file contains 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