From a60b6220530859547f4042e0c9d1416a0feb4713 Mon Sep 17 00:00:00 2001 From: radu-mocanu Date: Tue, 15 Apr 2025 12:03:42 +0300 Subject: [PATCH 1/2] fix: rename CreateAction fields --- pyproject.toml | 4 ++-- src/uipath_langchain/_cli/_runtime/_output.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3ce22ab2..38a61ee1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [project] name = "uipath-langchain" -version = "0.0.88" +version = "0.0.89" description = "UiPath Langchain" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.10" dependencies = [ - "uipath>=2.0.4, <2.1.0", + "uipath>=2.0.7, <2.1.0", "langgraph>=0.2.70", "langchain-core>=0.3.34", "langgraph-checkpoint-sqlite>=2.0.3", diff --git a/src/uipath_langchain/_cli/_runtime/_output.py b/src/uipath_langchain/_cli/_runtime/_output.py index 9ffa1b30..32e5d3ee 100644 --- a/src/uipath_langchain/_cli/_runtime/_output.py +++ b/src/uipath_langchain/_cli/_runtime/_output.py @@ -277,11 +277,11 @@ async def _save_resume_trigger(self) -> None: if isinstance(self.interrupt_value, CreateAction): action = uipath_sdk.actions.create( title=self.interrupt_value.title, - app_name=self.interrupt_value.name - if self.interrupt_value.name + app_name=self.interrupt_value.app_name + if self.interrupt_value.app_name else "", - app_key=self.interrupt_value.key - if self.interrupt_value.key + app_key=self.interrupt_value.app_key + if self.interrupt_value.app_key else "", app_version=self.interrupt_value.app_version if self.interrupt_value.app_version From 67648e7b3e029962675e3d067365cf873bf5b885 Mon Sep 17 00:00:00 2001 From: radu-mocanu Date: Tue, 15 Apr 2025 12:40:46 +0300 Subject: [PATCH 2/2] ci: add commitlint instructions --- .github/workflows/commitlint.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 1e5aa512..778f0db8 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -7,6 +7,22 @@ on: jobs: commit-lint: - uses: UiPath/.github/.github/workflows/commit-lint.yml@master - secrets: - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Lint commits + uses: wagoid/commitlint-github-action@v3 + + - name: Block fixup commits + if: ${{ github.event_name != 'merge_group' }} + uses: 13rac1/block-fixup-merge-action@v2.0.0 + + - name: Block Merge Commits + if: ${{ github.event_name != 'merge_group' }} + uses: Morishiri/block-merge-commits-action@v1.0.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}