Skip to content

Commit

Permalink
Update PR template and add changelog verifier workflow (#642)
Browse files Browse the repository at this point in the history
* Update PR template and add changelog verifier workflow

Signed-off-by: Matt Provost <[email protected]>

* Update changelog

Signed-off-by: Matt Provost <[email protected]>

---------

Signed-off-by: Matt Provost <[email protected]>
  • Loading branch information
BSFishy authored Jun 28, 2023
1 parent 18cc9df commit 22fb985
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [ ] All tests pass
- [ ] `yarn lint`
- [ ] `yarn test-unit`
- [ ] Update [CHANGELOG.md](./../CHANGELOG.md)
- [ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/changelog_verifier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Changelog Verifier"
on:
pull_request:
branches: [ '**', '!feature/**' ]
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: "skip-changelog"
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# OUI
## [`main`](https://github.com/opensearch-project/oui/tree/main)

- Add release workflows ([134](https://github.com/opensearch-project/oui/pull/133))
## [Unreleased](https://github.com/opensearch-project/oui/tree/main)

### πŸ’₯ Breaking Changes

### Deprecations

### πŸ›‘ Security

### πŸ“ˆ Features/Enhancements

### πŸ› Bug Fixes

### 🚞 Infrastructure

- Add release workflows ([#134](https://github.com/opensearch-project/oui/pull/133))
- Change PR template and add changelog workflow ([#642](https://github.com/opensearch-project/oui/pull/642))

### πŸ“ Documentation

### πŸ›  Maintenance

### πŸͺ› Refactoring

### πŸ”© Tests

## [`1.0.0`](https://github.com/opensearch-project/oui/tree/1.0.0)

Expand Down

0 comments on commit 22fb985

Please sign in to comment.