Skip to content

Commit c5a8238

Browse files
committed
add changelog stuff
1 parent 88397f0 commit c5a8238

4 files changed

Lines changed: 65 additions & 2 deletions

File tree

.clconfig.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"categories": [
3+
"all",
4+
"ci",
5+
"cli",
6+
"test"
7+
],
8+
"change_types": [
9+
{
10+
"short": "feat",
11+
"long": "Features"
12+
},
13+
{
14+
"short": "imp",
15+
"long": "Improvements"
16+
},
17+
{
18+
"short": "fix",
19+
"long": "Bug Fixes"
20+
}
21+
],
22+
"commit_message": "add changelog entry",
23+
"changelog_path": "CHANGELOG.md",
24+
"expected_spellings": {
25+
"CI": "ci",
26+
"CLI": "cli"
27+
},
28+
"legacy_version": null,
29+
"target_repo": "https://github.com/noble-assets/orbgen"
30+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Changelog Diff
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
permissions: read-all
9+
10+
jobs:
11+
check_diff:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check changelog for changes
15+
uses: tarides/changelog-check-action@v2
16+
with:
17+
changelog: CHANGELOG.md
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Changelog Linter
2+
3+
on:
4+
pull_request:
5+
6+
permissions: read-all
7+
8+
jobs:
9+
lint-changelog:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out the repository
14+
uses: actions/checkout@v4
15+
16+
- name: Run changelog linter
17+
uses: MalteHerrmann/changelog-lint-action@v0.3.0

.github/workflows/golangci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
- main
66
pull_request:
77

8-
permissions:
9-
contents: read
8+
permissions: read-all
109

1110
jobs:
1211
golangci:

0 commit comments

Comments
 (0)