Skip to content

Commit 9842e37

Browse files
author
Sophia Marie Terry
committed
debug changelog
1 parent e48a668 commit 9842e37

File tree

3 files changed

+15
-39
lines changed

3 files changed

+15
-39
lines changed

.github/workflows/code-health-tools.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,6 @@ jobs:
6868
exit 1
6969
fi
7070
exit 0
71-
- name: Check Changelog up-to-date
72-
run: |
73-
npm run gen-ipa-changelog
74-
if [[ -n $(git status --porcelain) ]]; then
75-
echo "Changelog not up to date, please run 'npm run gen-ipa-changelog' and commit the changes"
76-
exit 1
77-
fi
78-
exit 0
7971
- name: Download actionlint
8072
id: get_actionlint
8173
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)

.github/workflows/spectral-publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ on:
88
- 'tools/spectral/**'
99

1010
jobs:
11+
generate-changelog:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- run: npm install -g conventional-changelog-cli
16+
- name: Generate and Commit Changelog
17+
run: |
18+
npm run gen-ipa-changelog
19+
git add CHANGELOG.md
20+
git commit -m "chore(changelog): Update changelog"
21+
- name: Push Changelog
22+
uses: ad-m/github-push-action@master
23+
with:
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
branch: main
1126
publish:
1227
runs-on: ubuntu-latest
1328
steps:

tools/spectral/CHANGELOG.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,3 @@
1414

1515
* Revert "changes" ([01c89f5](https://github.com/mongodb/openapi/commit/01c89f53d78aa5e3775ec28180be343fd3baf513))
1616
* Revert "changes" ([3a073af](https://github.com/mongodb/openapi/commit/3a073af53805754a360fbd3397780f46af234af7))
17-
18-
19-
20-
# [1.0.0](https://github.com/mongodb/openapi/compare/v0.0.56...v1.0.0) (2025-07-23)
21-
22-
23-
### Bug Fixes
24-
25-
* fix script to use correct date format ([4a72819](https://github.com/mongodb/openapi/commit/4a72819dd1b8c517d9ebe55c3acf9cca7a385de6))
26-
* rename 1_week_date to one_week_date to fix lint error ([a6e2853](https://github.com/mongodb/openapi/commit/a6e28539e191128b8814e4313ae6c576f4078ba2))
27-
* update action to use the correct script ([2c16127](https://github.com/mongodb/openapi/commit/2c16127ca3b891a33922e4df13cf1bf3d4e446e9))
28-
29-
30-
### Reverts
31-
32-
* Revert "changes" ([01c89f5](https://github.com/mongodb/openapi/commit/01c89f53d78aa5e3775ec28180be343fd3baf513))
33-
* Revert "changes" ([3a073af](https://github.com/mongodb/openapi/commit/3a073af53805754a360fbd3397780f46af234af7))
34-
35-
36-
37-
# [1.0.0](https://github.com/mongodb/openapi/compare/v0.0.56...v1.0.0) (2025-07-22)
38-
39-
40-
### Bug Fixes
41-
42-
* fix script to use correct date format ([4a72819](https://github.com/mongodb/openapi/commit/4a72819dd1b8c517d9ebe55c3acf9cca7a385de6))
43-
* rename 1_week_date to one_week_date to fix lint error ([a6e2853](https://github.com/mongodb/openapi/commit/a6e28539e191128b8814e4313ae6c576f4078ba2))
44-
* update action to use the correct script ([2c16127](https://github.com/mongodb/openapi/commit/2c16127ca3b891a33922e4df13cf1bf3d4e446e9))
45-
46-
47-

0 commit comments

Comments
 (0)