-
Notifications
You must be signed in to change notification settings - Fork 73
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 (#1413)
* Add Changelog verifier workflow Signed-off-by: Owais <[email protected]> * Add documentation Signed-off-by: Owais <[email protected]> --------- Signed-off-by: Owais <[email protected]>
- Loading branch information
1 parent
d4ce6cf
commit f8307ab
Showing
3 changed files
with
75 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,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 ([#1413](https://github.com/opensearch-project/anomaly-detection/pull/1413)) | ||
### 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