Skip to content

Commit 4a6ce28

Browse files
authored
Enforced changelog updates and conventional commits into main (#288)
1 parent 15febec commit 4a6ce28

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/workflows/pr.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
name: PR Checks
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
6+
7+
jobs:
8+
pr-title-and-changelog:
9+
name: PR Validation
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Check Changelog
16+
uses: dangoslen/changelog-enforcer@v3
17+
with:
18+
skipLabels: "skip-changelog"
19+
expectedLatestVersion: ""
20+
21+
- name: Validate PR title
22+
uses: amannn/action-semantic-pull-request@v5
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Enforcement of `CHANGELOG.md` entries for PRs and Conventional Commits for PR titles [#288](https://github.com/developmentseed/eoapi-k8s/pull/288)
13+
1014
## [0.7.8] - 2025-09-10
1115

1216
### Added

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343

4444
* **We welcome contributions** from the community! Feel free to open an issue or submit a pull request.
4545

46+
* **Please ensure:** that pull requests make an update to `CHANGELOG.md` and that your pull request **title** adheres to [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
47+
4648
## License
4749

4850
This project is licensed under the [MIT License](./LICENSE).

0 commit comments

Comments
 (0)