Skip to content

Commit ba534cb

Browse files
chore: publish when changelog has been merged (#161)
* chore: publish when changelog has been merged * ci: adjust conditional
1 parent df079c8 commit ba534cb

File tree

2 files changed

+211
-5
lines changed

2 files changed

+211
-5
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,36 @@ jobs:
2828
run: |
2929
export VERSION=$(date "+%Y.%m.%d")
3030
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
31-
- uses: release-drafter/release-drafter@v6
32-
id: release
31+
- name: Publish release
32+
if: github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release)')
33+
uses: release-drafter/release-drafter@v6
34+
with:
35+
publish: true
36+
tag: ${{ steps.calver.outputs.version }}
37+
name: ${{ steps.calver.outputs.version }}
38+
version: ${{ steps.calver.outputs.version }}
39+
env:
40+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
41+
- name: Generate release
42+
if: github.event_name == 'pull_request' || github.event_name == 'push' && !startsWith(github.event.head_commit.message, 'chore(release)')
43+
uses: release-drafter/release-drafter@v6
44+
id: draft
3345
with:
3446
tag: ${{ steps.calver.outputs.version }}
3547
name: ${{ steps.calver.outputs.version }}
3648
version: ${{ steps.calver.outputs.version }}
3749
env:
3850
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
3951
- name: Update changelog
40-
if: ${{ steps.release.outputs.tag_name }}
52+
if: ${{ steps.draft.outputs.tag_name }}
4153
uses: stefanzweifel/changelog-updater-action@v1
4254
with:
4355
latest-version: ${{ steps.release.outputs.tag_name }}
4456
release-notes: ${{ steps.release.outputs.body }}
4557
hide-release-date: true
4658
parse-github-usernames: true
47-
- name: Create Pull Request
48-
if: ${{ steps.release.outputs.tag_name }}
59+
- name: Create pull request
60+
if: ${{ steps.draft.outputs.tag_name }}
4961
uses: peter-evans/create-pull-request@v7
5062
with:
5163
add-paths: CHANGELOG.md

CHANGELOG.md

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,195 @@
11
# Changelog
2+
3+
## [1.1.18](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.17...v1.1.18) (2025-05-21)
4+
5+
6+
### Miscellaneous Chores
7+
8+
* release 1.1.18 ([1c0e88e](https://github.com/inclusive-design/idrc-cms-authenticator/commit/1c0e88e370a0728277a0fac2bbf62a75b9e9fd87))
9+
10+
## [1.1.17](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.16...v1.1.17) (2025-05-06)
11+
12+
13+
### Bug Fixes
14+
15+
* **deps:** lock file maintenance ([#143](https://github.com/inclusive-design/idrc-cms-authenticator/issues/143)) ([c486d18](https://github.com/inclusive-design/idrc-cms-authenticator/commit/c486d188f6c000f38d1f5cfe8b3dc171fe5bf16f))
16+
17+
## [1.1.16](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.15...v1.1.16) (2025-04-29)
18+
19+
20+
### Bug Fixes
21+
22+
* **deps:** lock file maintenance ([#140](https://github.com/inclusive-design/idrc-cms-authenticator/issues/140)) ([9b75f46](https://github.com/inclusive-design/idrc-cms-authenticator/commit/9b75f46c09f0ca22a508ca6062dd84dbcf2544f0))
23+
24+
## [1.1.15](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.14...v1.1.15) (2025-04-21)
25+
26+
27+
### Bug Fixes
28+
29+
* **deps:** lock file maintenance ([#138](https://github.com/inclusive-design/idrc-cms-authenticator/issues/138)) ([2b439d3](https://github.com/inclusive-design/idrc-cms-authenticator/commit/2b439d3dfe5c95546ec0d57c4ec5dc51ae48285a))
30+
31+
## [1.1.14](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.13...v1.1.14) (2025-04-15)
32+
33+
34+
### Bug Fixes
35+
36+
* **deps:** lock file maintenance ([#135](https://github.com/inclusive-design/idrc-cms-authenticator/issues/135)) ([c3425f3](https://github.com/inclusive-design/idrc-cms-authenticator/commit/c3425f33b221a51095cf6b330d335b7b223f8bca))
37+
38+
## [1.1.13](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.12...v1.1.13) (2025-04-07)
39+
40+
41+
### Bug Fixes
42+
43+
* **deps:** lock file maintenance ([#131](https://github.com/inclusive-design/idrc-cms-authenticator/issues/131)) ([2ea75d3](https://github.com/inclusive-design/idrc-cms-authenticator/commit/2ea75d30fdf40a4caa4ca601fc3ab09b02a1499a))
44+
* **deps:** update node.js to v23.11.0 ([#128](https://github.com/inclusive-design/idrc-cms-authenticator/issues/128)) ([3ee459d](https://github.com/inclusive-design/idrc-cms-authenticator/commit/3ee459d93b9bcd388c1ed428b3dd4bbac009f68f))
45+
46+
## [1.1.12](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.11...v1.1.12) (2025-04-01)
47+
48+
49+
### Bug Fixes
50+
51+
* **deps:** update dependency express to v5 ([#126](https://github.com/inclusive-design/idrc-cms-authenticator/issues/126)) ([192523f](https://github.com/inclusive-design/idrc-cms-authenticator/commit/192523ff931d24fb87032dae80fb0fa074b7fa4b))
52+
53+
## [1.1.11](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.10...v1.1.11) (2025-03-25)
54+
55+
56+
### Miscellaneous Chores
57+
58+
* **release:** release 1.1.11 ([#123](https://github.com/inclusive-design/idrc-cms-authenticator/issues/123)) ([aba1bf0](https://github.com/inclusive-design/idrc-cms-authenticator/commit/aba1bf07d978b7c0c4d27b6a5448a6cc480e1739))
59+
60+
## [1.1.10](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.9...v1.1.10) (2025-03-17)
61+
62+
63+
### Bug Fixes
64+
65+
* **deps:** update node.js to v23.10.0 ([#118](https://github.com/inclusive-design/idrc-cms-authenticator/issues/118)) ([0b47a2c](https://github.com/inclusive-design/idrc-cms-authenticator/commit/0b47a2c20c424350ad40e0a8b63e08ec0588986c))
66+
67+
## [1.1.9](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.8...v1.1.9) (2025-03-10)
68+
69+
70+
### Bug Fixes
71+
72+
* **deps:** lock file maintenance ([#115](https://github.com/inclusive-design/idrc-cms-authenticator/issues/115)) ([6df92a3](https://github.com/inclusive-design/idrc-cms-authenticator/commit/6df92a3eeb6e808cf99aef5f42fb16325637e8a6))
73+
74+
## [1.1.8](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.7...v1.1.8) (2025-03-04)
75+
76+
77+
### Miscellaneous Chores
78+
79+
* **release:** release 1.1.8 ([#113](https://github.com/inclusive-design/idrc-cms-authenticator/issues/113)) ([c87a31d](https://github.com/inclusive-design/idrc-cms-authenticator/commit/c87a31d0ead17b4606e6e4b90aa2c2599f20932b))
80+
81+
## [1.1.7](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.6...v1.1.7) (2025-02-27)
82+
83+
84+
### Miscellaneous Chores
85+
86+
* **release:** release 1.1.7 ([#110](https://github.com/inclusive-design/idrc-cms-authenticator/issues/110)) ([caa7024](https://github.com/inclusive-design/idrc-cms-authenticator/commit/caa7024c92e3fde0afb4b4d24afd1ec16be1169f))
87+
88+
## [1.1.6](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.5...v1.1.6) (2025-02-21)
89+
90+
91+
### Miscellaneous Chores
92+
93+
* **release:** release 1.1.6 ([#106](https://github.com/inclusive-design/idrc-cms-authenticator/issues/106)) ([174f4e0](https://github.com/inclusive-design/idrc-cms-authenticator/commit/174f4e0b358fb92148a875a4d73f3feb2c61c32f))
94+
95+
## [1.1.5](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.4...v1.1.5) (2025-02-14)
96+
97+
98+
### Bug Fixes
99+
100+
* **dips:** update node.js to v23.8.0 ([551a760](https://github.com/inclusive-design/idrc-cms-authenticator/commit/551a760b58e20508fa065d1123d12f40616a3f56))
101+
102+
## [1.1.4](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.3...v1.1.4) (2025-02-13)
103+
104+
105+
### Miscellaneous Chores
106+
107+
* **release:** release 1.1.4 ([#100](https://github.com/inclusive-design/idrc-cms-authenticator/issues/100)) ([30329b2](https://github.com/inclusive-design/idrc-cms-authenticator/commit/30329b20068899783885c7b31a7d6a5b2fd957a2))
108+
109+
## [1.1.3](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.2...v1.1.3) (2025-02-11)
110+
111+
112+
### Miscellaneous Chores
113+
114+
* **release:** release 1.1.3 ([#98](https://github.com/inclusive-design/idrc-cms-authenticator/issues/98)) ([ea7eeae](https://github.com/inclusive-design/idrc-cms-authenticator/commit/ea7eeae7c768d74e10c67a46bf2e1aeb0546d488))
115+
116+
## [1.1.2](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.1...v1.1.2) (2025-01-27)
117+
118+
119+
### Bug Fixes
120+
121+
* bump node version ([#94](https://github.com/inclusive-design/idrc-cms-authenticator/issues/94)) ([f4c685c](https://github.com/inclusive-design/idrc-cms-authenticator/commit/f4c685c13ca77812e0a4ccda2d69db3a5a31c261))
122+
123+
## [1.1.1](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.1.0...v1.1.1) (2024-12-13)
124+
125+
126+
### Bug Fixes
127+
128+
* resolve cross-spawn issue ([#83](https://github.com/inclusive-design/idrc-cms-authenticator/issues/83)) ([155f410](https://github.com/inclusive-design/idrc-cms-authenticator/commit/155f410d9bc1733578cd221236acae88eb5b7de1))
129+
130+
## [1.1.0](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.0.0...v1.1.0) (2024-12-11)
131+
132+
133+
### Features
134+
135+
* runs apk upgrade for security updates ([#65](https://github.com/inclusive-design/idrc-cms-authenticator/issues/65)) ([a588e02](https://github.com/inclusive-design/idrc-cms-authenticator/commit/a588e02d824e52ccb6f9f64b3f5597b60cb0c5c7))
136+
137+
138+
### Bug Fixes
139+
140+
* **deps:** update dependency cookie-parser to v1.4.7 ([#60](https://github.com/inclusive-design/idrc-cms-authenticator/issues/60)) ([797102b](https://github.com/inclusive-design/idrc-cms-authenticator/commit/797102bcbe4e4482981823674fd2747ab35105c4))
141+
* **deps:** update dependency dotenv to v16.4.6 ([#75](https://github.com/inclusive-design/idrc-cms-authenticator/issues/75)) ([cfb10c7](https://github.com/inclusive-design/idrc-cms-authenticator/commit/cfb10c76722d6671f2990dbdeb6383e53de31916))
142+
* **deps:** update dependency dotenv to v16.4.7 ([#76](https://github.com/inclusive-design/idrc-cms-authenticator/issues/76)) ([730151b](https://github.com/inclusive-design/idrc-cms-authenticator/commit/730151b271c272b033b1d388d7868eab4bac812b))
143+
* **deps:** update dependency express to v4.20.0 ([#49](https://github.com/inclusive-design/idrc-cms-authenticator/issues/49)) ([ab110d3](https://github.com/inclusive-design/idrc-cms-authenticator/commit/ab110d397805235306af56cda9ed6d1311fda207))
144+
* **deps:** update dependency express to v4.21.0 ([#52](https://github.com/inclusive-design/idrc-cms-authenticator/issues/52)) ([0013fb9](https://github.com/inclusive-design/idrc-cms-authenticator/commit/0013fb9bec5207e9a6933c8120c42c2aac67ed2c))
145+
* **deps:** update dependency express to v4.21.1 ([#61](https://github.com/inclusive-design/idrc-cms-authenticator/issues/61)) ([4e714da](https://github.com/inclusive-design/idrc-cms-authenticator/commit/4e714da868f90833f742a42b427c10f09ac6cf5f))
146+
* **deps:** update dependency express to v4.21.2 ([#77](https://github.com/inclusive-design/idrc-cms-authenticator/issues/77)) ([7211873](https://github.com/inclusive-design/idrc-cms-authenticator/commit/72118735af632112bc2e4c038879ad202e53b029))
147+
148+
## [1.0.0](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.0.0-beta.2...v1.0.0) (2024-06-27)
149+
150+
151+
### Bug Fixes
152+
153+
* add NVM configuration ([a01043c](https://github.com/inclusive-design/idrc-cms-authenticator/commit/a01043ce63299a6264ca9dbf29d87c6e5c5a06ad))
154+
* consolidate error handling into catch (resolves [#24](https://github.com/inclusive-design/idrc-cms-authenticator/issues/24)) ([#25](https://github.com/inclusive-design/idrc-cms-authenticator/issues/25)) ([a01043c](https://github.com/inclusive-design/idrc-cms-authenticator/commit/a01043ce63299a6264ca9dbf29d87c6e5c5a06ad))
155+
* modify script permissions ([#28](https://github.com/inclusive-design/idrc-cms-authenticator/issues/28)) ([b85e1ff](https://github.com/inclusive-design/idrc-cms-authenticator/commit/b85e1ff0bb5859de494a745f0e617391e1b178f9))
156+
* set GIT_HOSTNAME for GitLab (resolves [#23](https://github.com/inclusive-design/idrc-cms-authenticator/issues/23)) ([a01043c](https://github.com/inclusive-design/idrc-cms-authenticator/commit/a01043ce63299a6264ca9dbf29d87c6e5c5a06ad))
157+
* use more consistent whitespace in middleware ([#20](https://github.com/inclusive-design/idrc-cms-authenticator/issues/20)) ([0937019](https://github.com/inclusive-design/idrc-cms-authenticator/commit/093701973c299496537e585f92ba25b756b44dc0))
158+
159+
160+
### Miscellaneous Chores
161+
162+
* **release:** release 1.0.0 ([#22](https://github.com/inclusive-design/idrc-cms-authenticator/issues/22)) ([ac7c0c8](https://github.com/inclusive-design/idrc-cms-authenticator/commit/ac7c0c8bf55b1c210286b86716ef2b19e877c220))
163+
164+
## [1.0.0-beta.2](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-06-26)
165+
166+
167+
### Bug Fixes
168+
169+
* configure c8 for more accurate coverage ([#12](https://github.com/inclusive-design/idrc-cms-authenticator/issues/12)) ([20d1e0e](https://github.com/inclusive-design/idrc-cms-authenticator/commit/20d1e0eb86e9da4053e2cbe21044316a44663609))
170+
* provide token in final response ([3d21605](https://github.com/inclusive-design/idrc-cms-authenticator/commit/3d216053f3c965978ad283d4d6a84a50096f759d))
171+
* provide token in final response (resolves [#15](https://github.com/inclusive-design/idrc-cms-authenticator/issues/15)) ([#17](https://github.com/inclusive-design/idrc-cms-authenticator/issues/17)) ([3d21605](https://github.com/inclusive-design/idrc-cms-authenticator/commit/3d216053f3c965978ad283d4d6a84a50096f759d))
172+
173+
174+
### Miscellaneous Chores
175+
176+
* **release:** release 1.0.0-beta.2 ([#14](https://github.com/inclusive-design/idrc-cms-authenticator/issues/14)) ([35549d9](https://github.com/inclusive-design/idrc-cms-authenticator/commit/35549d9d3f4b0540006b0cd5752158e847ee6d78))
177+
178+
## [1.0.0-beta.1](https://github.com/inclusive-design/idrc-cms-authenticator/compare/v0.0.1...v1.0.0-beta.1) (2024-06-25)
179+
180+
181+
### Features
182+
183+
* build Docker image and push to ECR ([#4](https://github.com/inclusive-design/idrc-cms-authenticator/issues/4)) ([9e6f158](https://github.com/inclusive-design/idrc-cms-authenticator/commit/9e6f158c0c808efec7c26055e2b85ec4f0ef316d))
184+
* refactor based on sveltia-cms-auth ([#8](https://github.com/inclusive-design/idrc-cms-authenticator/issues/8)) ([bcc0fbd](https://github.com/inclusive-design/idrc-cms-authenticator/commit/bcc0fbd6ca17df068ed1152cf36d16a7f8b90a00))
185+
186+
187+
### Bug Fixes
188+
189+
* resolve issues with Docker build ([#5](https://github.com/inclusive-design/idrc-cms-authenticator/issues/5)) ([c9d8208](https://github.com/inclusive-design/idrc-cms-authenticator/commit/c9d8208ec125ad57e7602e1f6cd96c1a616323d9))
190+
191+
192+
### Miscellaneous Chores
193+
194+
* **release:** release 1.0.0 ([4e7bff9](https://github.com/inclusive-design/idrc-cms-authenticator/commit/4e7bff988db6e9a7f2937385befe9c868e4d453c))
195+
* **release:** release 1.0.0-beta.1 ([#11](https://github.com/inclusive-design/idrc-cms-authenticator/issues/11)) ([ecfdea0](https://github.com/inclusive-design/idrc-cms-authenticator/commit/ecfdea0c8eb422755fc0a466871c39e3f9fe3dd0))

0 commit comments

Comments
 (0)