Skip to content

Commit 24a3369

Browse files
committed
Remove overengineered changelog workflow in favour of GitHub releases
1 parent 74b30b7 commit 24a3369

2 files changed

Lines changed: 1 addition & 262 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -27,55 +27,6 @@ jobs:
2727
fetch-depth: 0
2828
ref: ${{ env.PUBLISH_UPDATE_BRANCH }}
2929

30-
- name: Update changelog
31-
uses: CharMixer/auto-changelog-action@v1
32-
with:
33-
token: ${{ secrets.ORG_RELEASE_PAT }}
34-
release_branch: ${{ env.PUBLISH_UPDATE_BRANCH }}
35-
exclude_labels: "duplicate,question,invalid,wontfix,dependency_updates,skip_changelog"
36-
37-
- name: Configure git and commit CHANGELOG
38-
run: |
39-
git config --global user.email "${GIT_USER_EMAIL}"
40-
git config --global user.name "${GIT_USER_NAME}"
41-
git commit CHANGELOG.md -m "Release ${GITHUB_REF#refs/tags/}"
42-
43-
- name: Move tag to new HEAD
44-
run: |
45-
TAG_MSG=.github/utils/release_tag_msg.txt
46-
sed -i "s|TAG_NAME|${GITHUB_REF#refs/tags/}|" "${TAG_MSG}"
47-
git tag -af -F "${TAG_MSG}" ${GITHUB_REF#refs/tags/}
48-
49-
- name: Update '${{ env.PUBLISH_UPDATE_BRANCH }}'
50-
uses: CasperWA/push-protected@v2
51-
with:
52-
token: ${{ secrets.ORG_RELEASE_PAT }}
53-
branch: ${{ env.PUBLISH_UPDATE_BRANCH }}
54-
unprotect_reviews: true
55-
sleep: 15
56-
force: true
57-
tags: true
58-
59-
- name: Get tagged versions
60-
run: echo "PREVIOUS_VERSION=$(git tag -l --sort -version:refname | sed -n 2p)" >> $GITHUB_ENV
61-
62-
- name: Create release-specific changelog
63-
uses: CharMixer/auto-changelog-action@v1
64-
with:
65-
token: ${{ secrets.ORG_RELEASE_PAT }}
66-
release_branch: ${{ env.PUBLISH_UPDATE_BRANCH }}
67-
since_tag: "${{ env.PREVIOUS_VERSION }}"
68-
output: "release_changelog.md"
69-
exclude_labels: "duplicate,question,invalid,wontfix,dependency_updates,CI,skip_changelog"
70-
71-
- name: Append changelog to release body
72-
run: |
73-
gh api /repos/${{ github.repository }}/releases/${{ github.event.release.id }} --jq '.body' > release_body.md
74-
cat release_changelog.md >> release_body.md
75-
gh api /repos/${{ github.repository }}/releases/${{ github.event.release.id }} -X PATCH -F body='@release_body.md'
76-
env:
77-
GITHUB_TOKEN: ${{ secrets.ORG_RELEASE_PAT }}
78-
7930
publish:
8031
name: "Publish on PyPI"
8132
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 1 addition & 213 deletions
Original file line numberDiff line numberDiff line change
@@ -1,215 +1,3 @@
11
# Changelog
22

3-
## [Unreleased](https://github.com/datalab-org/datalab-api/tree/HEAD)
4-
5-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.3.1...HEAD)
6-
7-
**Closed issues:**
8-
9-
- `create_item` errors if status code is 200 [\#76](https://github.com/datalab-org/datalab-api/issues/76)
10-
11-
## [v0.3.1](https://github.com/datalab-org/datalab-api/tree/v0.3.1) (2025-10-28)
12-
13-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.3.0...v0.3.1)
14-
15-
**Merged pull requests:**
16-
17-
- Fix the expected status code for item creation to 201 [\#77](https://github.com/datalab-org/datalab-api/pull/77) ([ml-evs](https://github.com/ml-evs))
18-
- Update CI dependencies and dependabot config [\#74](https://github.com/datalab-org/datalab-api/pull/74) ([dependabot[bot]](https://github.com/apps/dependabot))
19-
20-
## [v0.3.0](https://github.com/datalab-org/datalab-api/tree/v0.3.0) (2025-07-08)
21-
22-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.13...v0.3.0)
23-
24-
**Implemented enhancements:**
25-
26-
- Add centralized request error handling to base client class [\#70](https://github.com/datalab-org/datalab-api/pull/70) ([ml-evs](https://github.com/ml-evs))
27-
28-
**Closed issues:**
29-
30-
- Show server errors more readily [\#69](https://github.com/datalab-org/datalab-api/issues/69)
31-
32-
**Merged pull requests:**
33-
34-
- Refactor some functionality into utils module for external use [\#67](https://github.com/datalab-org/datalab-api/pull/67) ([ml-evs](https://github.com/ml-evs))
35-
- Update dependencies, deprecate cheminventory helper [\#65](https://github.com/datalab-org/datalab-api/pull/65) ([ml-evs](https://github.com/ml-evs))
36-
37-
## [v0.2.13](https://github.com/datalab-org/datalab-api/tree/v0.2.13) (2025-05-08)
38-
39-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.12...v0.2.13)
40-
41-
**Implemented enhancements:**
42-
43-
- Enable item search by refcode in the API [\#64](https://github.com/datalab-org/datalab-api/pull/64) ([ml-evs](https://github.com/ml-evs))
44-
45-
## [v0.2.12](https://github.com/datalab-org/datalab-api/tree/v0.2.12) (2025-05-07)
46-
47-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.11...v0.2.12)
48-
49-
**Closed issues:**
50-
51-
- get\_items method only works with samples [\#50](https://github.com/datalab-org/datalab-api/issues/50)
52-
53-
**Merged pull requests:**
54-
55-
- Fix for enumerating non-sample item endpoints [\#63](https://github.com/datalab-org/datalab-api/pull/63) ([ml-evs](https://github.com/ml-evs))
56-
- Use PEP 639 SPDX license in pyproject [\#62](https://github.com/datalab-org/datalab-api/pull/62) ([ml-evs](https://github.com/ml-evs))
57-
58-
## [v0.2.11](https://github.com/datalab-org/datalab-api/tree/v0.2.11) (2025-05-02)
59-
60-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.10...v0.2.11)
61-
62-
**Merged pull requests:**
63-
64-
- Return collection members from `.get_collection` [\#61](https://github.com/datalab-org/datalab-api/pull/61) ([ml-evs](https://github.com/ml-evs))
65-
- Deal with uncaught duplicate key errors on client-side [\#60](https://github.com/datalab-org/datalab-api/pull/60) ([ml-evs](https://github.com/ml-evs))
66-
67-
## [v0.2.10](https://github.com/datalab-org/datalab-api/tree/v0.2.10) (2025-05-01)
68-
69-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.9...v0.2.10)
70-
71-
**Merged pull requests:**
72-
73-
- Remove typehint on base class `__enter__` that confuses parsers [\#59](https://github.com/datalab-org/datalab-api/pull/59) ([ml-evs](https://github.com/ml-evs))
74-
- Bump astral-sh/setup-uv from 5 to 6 in the github-actions group [\#58](https://github.com/datalab-org/datalab-api/pull/58) ([dependabot[bot]](https://github.com/apps/dependabot))
75-
- Use streaming downloads when requesting file data [\#57](https://github.com/datalab-org/datalab-api/pull/57) ([ml-evs](https://github.com/ml-evs))
76-
77-
## [v0.2.9](https://github.com/datalab-org/datalab-api/tree/v0.2.9) (2025-03-16)
78-
79-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.8...v0.2.9)
80-
81-
**Merged pull requests:**
82-
83-
- Add test for `get_items` [\#54](https://github.com/datalab-org/datalab-api/pull/54) ([ml-evs](https://github.com/ml-evs))
84-
- Only install bokeh if not running via emscripten [\#53](https://github.com/datalab-org/datalab-api/pull/53) ([ml-evs](https://github.com/ml-evs))
85-
86-
## [v0.2.8](https://github.com/datalab-org/datalab-api/tree/v0.2.8) (2025-03-16)
87-
88-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.7...v0.2.8)
89-
90-
**Implemented enhancements:**
91-
92-
- Add method for pulling block info from deployment and add it to examples [\#40](https://github.com/datalab-org/datalab-api/pull/40) ([ml-evs](https://github.com/ml-evs))
93-
94-
**Fixed bugs:**
95-
96-
- File download fails when server's files are not stored in default location [\#51](https://github.com/datalab-org/datalab-api/issues/51)
97-
98-
**Merged pull requests:**
99-
100-
- Fix file download link so that it works locally and across all datalab configs [\#52](https://github.com/datalab-org/datalab-api/pull/52) ([ml-evs](https://github.com/ml-evs))
101-
- add sublime files to .gitignore [\#49](https://github.com/datalab-org/datalab-api/pull/49) ([jdbocarsly](https://github.com/jdbocarsly))
102-
- Replace RTD links with real domain [\#48](https://github.com/datalab-org/datalab-api/pull/48) ([ml-evs](https://github.com/ml-evs))
103-
- Bump astral-sh/setup-uv from 4 to 5 in the github-actions group [\#45](https://github.com/datalab-org/datalab-api/pull/45) ([dependabot[bot]](https://github.com/apps/dependabot))
104-
- Bump the github-actions group across 1 directory with 2 updates [\#44](https://github.com/datalab-org/datalab-api/pull/44) ([dependabot[bot]](https://github.com/apps/dependabot))
105-
- Bump the github-actions group with 2 updates [\#37](https://github.com/datalab-org/datalab-api/pull/37) ([dependabot[bot]](https://github.com/apps/dependabot))
106-
- Switch CI to uv and add dependabot + uv.lock [\#36](https://github.com/datalab-org/datalab-api/pull/36) ([ml-evs](https://github.com/ml-evs))
107-
108-
## [v0.2.7](https://github.com/datalab-org/datalab-api/tree/v0.2.7) (2024-10-12)
109-
110-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.6...v0.2.7)
111-
112-
**Merged pull requests:**
113-
114-
- Guard against immutable ID not being returned from create collection [\#35](https://github.com/datalab-org/datalab-api/pull/35) ([ml-evs](https://github.com/ml-evs))
115-
- Expose `update_data_block`: public interface for selective block updates [\#34](https://github.com/datalab-org/datalab-api/pull/34) ([ml-evs](https://github.com/ml-evs))
116-
- Allow httpx session timeout to be configured [\#33](https://github.com/datalab-org/datalab-api/pull/33) ([ml-evs](https://github.com/ml-evs))
117-
118-
## [v0.2.6](https://github.com/datalab-org/datalab-api/tree/v0.2.6) (2024-10-08)
119-
120-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.5...v0.2.6)
121-
122-
**Fixed bugs:**
123-
124-
- Remove `item_id` before sending request to automatically generate item ID [\#32](https://github.com/datalab-org/datalab-api/pull/32) ([ml-evs](https://github.com/ml-evs))
125-
126-
## [v0.2.5](https://github.com/datalab-org/datalab-api/tree/v0.2.5) (2024-10-08)
127-
128-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.4...v0.2.5)
129-
130-
**Implemented enhancements:**
131-
132-
- Request randomly generated ID when creating item with no set ID [\#31](https://github.com/datalab-org/datalab-api/pull/31) ([ml-evs](https://github.com/ml-evs))
133-
134-
**Merged pull requests:**
135-
136-
- Make cheminventory helper more robust to missing barcodes [\#30](https://github.com/datalab-org/datalab-api/pull/30) ([ml-evs](https://github.com/ml-evs))
137-
- Update demo deployment URLs to new domain [\#29](https://github.com/datalab-org/datalab-api/pull/29) ([ml-evs](https://github.com/ml-evs))
138-
139-
## [v0.2.4](https://github.com/datalab-org/datalab-api/tree/v0.2.4) (2024-07-03)
140-
141-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.3...v0.2.4)
142-
143-
**Merged pull requests:**
144-
145-
- Migrate cheminventory import script to API helper [\#28](https://github.com/datalab-org/datalab-api/pull/28) ([ml-evs](https://github.com/ml-evs))
146-
- Enable more ruff rules and refactor [\#27](https://github.com/datalab-org/datalab-api/pull/27) ([ml-evs](https://github.com/ml-evs))
147-
- Dealing with collections [\#26](https://github.com/datalab-org/datalab-api/pull/26) ([ml-evs](https://github.com/ml-evs))
148-
- Add `DuplicateItemError` exception type to allow scripts to be re-entrant [\#25](https://github.com/datalab-org/datalab-api/pull/25) ([ml-evs](https://github.com/ml-evs))
149-
150-
## [v0.2.3](https://github.com/datalab-org/datalab-api/tree/v0.2.3) (2024-06-05)
151-
152-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.2...v0.2.3)
153-
154-
## [v0.2.2](https://github.com/datalab-org/datalab-api/tree/v0.2.2) (2024-05-28)
155-
156-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.1...v0.2.2)
157-
158-
**Implemented enhancements:**
159-
160-
- Neatly redirect to correct API URL when provided with UI URL [\#21](https://github.com/datalab-org/datalab-api/issues/21)
161-
- Add tests [\#2](https://github.com/datalab-org/datalab-api/issues/2)
162-
163-
**Closed issues:**
164-
165-
- Incorporate examples from hackathon into example notebook [\#20](https://github.com/datalab-org/datalab-api/issues/20)
166-
- Confusion around instance\_url and api\_key when not passed at start, help strings are messed up and the app context does not store user info properly [\#4](https://github.com/datalab-org/datalab-api/issues/4)
167-
168-
**Merged pull requests:**
169-
170-
- Testing and CI setup [\#23](https://github.com/datalab-org/datalab-api/pull/23) ([ml-evs](https://github.com/ml-evs))
171-
- Incorporate examples from hackathon into example notebook [\#22](https://github.com/datalab-org/datalab-api/pull/22) ([BenjaminCharmes](https://github.com/BenjaminCharmes))
172-
- Updates from hackathon [\#19](https://github.com/datalab-org/datalab-api/pull/19) ([ml-evs](https://github.com/ml-evs))
173-
- Add package description for PyPI [\#18](https://github.com/datalab-org/datalab-api/pull/18) ([ml-evs](https://github.com/ml-evs))
174-
175-
## [v0.2.1](https://github.com/datalab-org/datalab-api/tree/v0.2.1) (2024-04-15)
176-
177-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.2.0...v0.2.1)
178-
179-
**Implemented enhancements:**
180-
181-
- Strip quotes from API keys to avoid confusing errors [\#14](https://github.com/datalab-org/datalab-api/issues/14)
182-
183-
**Closed issues:**
184-
185-
- Fix PyPI publisher auth [\#12](https://github.com/datalab-org/datalab-api/issues/12)
186-
187-
**Merged pull requests:**
188-
189-
- Strip quotes from API keys when present [\#15](https://github.com/datalab-org/datalab-api/pull/15) ([ml-evs](https://github.com/ml-evs))
190-
191-
## [v0.2.0](https://github.com/datalab-org/datalab-api/tree/v0.2.0) (2024-04-14)
192-
193-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/v0.1.0...v0.2.0)
194-
195-
**Implemented enhancements:**
196-
197-
- Generate docs page [\#1](https://github.com/datalab-org/datalab-api/issues/1)
198-
199-
**Closed issues:**
200-
201-
- Rewrite git history to exclude big example notebook [\#11](https://github.com/datalab-org/datalab-api/issues/11)
202-
- Add example notebooks and build documentation site [\#10](https://github.com/datalab-org/datalab-api/issues/10)
203-
- Cannot do anything with block response [\#5](https://github.com/datalab-org/datalab-api/issues/5)
204-
205-
## [v0.1.0](https://github.com/datalab-org/datalab-api/tree/v0.1.0) (2024-03-12)
206-
207-
[Full Changelog](https://github.com/datalab-org/datalab-api/compare/af6a29a434dc8d2648b10ac28154299822b86dff...v0.1.0)
208-
209-
**Closed issues:**
210-
211-
- Make client usable via context manager [\#7](https://github.com/datalab-org/datalab-api/issues/7)
212-
213-
214-
215-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
3+
The changelog can be found in the [release notes on GitHub](https://github.com/datalab-org/datalab-api/releases).

0 commit comments

Comments
 (0)