Skip to content

Commit 2046a6f

Browse files
committed
Added an automated api update bot for opensearch-py
Signed-off-by: saimedhi <saimedhi@amazon.com>
1 parent 5299209 commit 2046a6f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/update_api.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
run: nox -s generate
2929
- name: Update CHANGELOG
3030
uses: jacobtomlinson/gha-find-replace@v3
31-
if: ${{ steps.cpr.outputs.pull-request-number != '' }}
3231
with:
33-
find: "- Your contribution here."
34-
replace: "- Updated opensearch-py to reflect the latest OpenSearch API spec.\n- Your contribution here."
32+
find: "### Updated APIs"
33+
replace: "### Updated APIs\n- Updated opensearch-py to reflect the latest OpenSearch API spec."
3534
include: "**CHANGELOG.md"
3635
- name: Get current date
3736
id: date

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2121
### Fixed
2222
- Fix KeyError when scroll return no hits ([#616](https://github.com/opensearch-project/opensearch-py/pull/616))
2323
- Fix reuse of `OpenSearch` using `Urllib3HttpConnection` and `AsyncOpenSearch` after calling `close` ([#639](https://github.com/opensearch-project/opensearch-py/pull/639))
24-
### Automated API Update
25-
- Your contribution here.
24+
### Updated APIs
2625
### Security
2726
### Dependencies
2827
- Bumps `pytest-asyncio` from <=0.21.1 to <=0.23.4
@@ -37,6 +36,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3736
- Fix `TypeError` on `parallel_bulk` ([#601](https://github.com/opensearch-project/opensearch-py/pull/601))
3837
- Fix Amazon OpenSearch Serverless integration with LangChain ([#603](https://github.com/opensearch-project/opensearch-py/pull/603))
3938
- Fix type of `Field.__setattr__` ([604](https://github.com/opensearch-project/opensearch-py/pull/604))
39+
### Updated APIs
4040
### Security
4141

4242
## [2.4.1]

0 commit comments

Comments
 (0)