From 47e5004398171cdbf17515307b350d20d97e7306 Mon Sep 17 00:00:00 2001 From: Alex Fernandez <21alex295@gmail.com> Date: Wed, 22 Nov 2023 10:10:09 +0100 Subject: [PATCH 1/3] feat: Dependabot automerge workflow (#651) Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> --- .github/workflows/dependabot_automerge.yml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dependabot_automerge.yml diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml new file mode 100644 index 0000000000..132d94fe87 --- /dev/null +++ b/.github/workflows/dependabot_automerge.yml @@ -0,0 +1,29 @@ +name: Dependabot auto-merge +on: pull_request + +permissions: + pull-requests: write + +jobs: + dependabot: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - name: Dependabot metadata + id: metadata + uses: dependabot/fetch-metadata@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Approve a PR + run: gh pr review --approve "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - name: Enable auto-merge for Dependabot PRs + if: steps.metadata.outputs.update-type != 'version-update:semver-major' + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file From 7f0f8d1eb33db4845af260d9e9241aa70d3d29af Mon Sep 17 00:00:00 2001 From: asmukane Date: Thu, 23 Nov 2023 21:33:23 +0530 Subject: [PATCH 2/3] added missing error code message (#652) --- src/ansys/meshing/prime/internals/error_handling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ansys/meshing/prime/internals/error_handling.py b/src/ansys/meshing/prime/internals/error_handling.py index 8602f841db..0ddfbdf8c3 100644 --- a/src/ansys/meshing/prime/internals/error_handling.py +++ b/src/ansys/meshing/prime/internals/error_handling.py @@ -299,6 +299,7 @@ ErrorCode.SOURCETARGETZONELETSNOTFIT: "Source and target zonelets do not fit to thin volume mesh.", ErrorCode.AUTOQUADMESHER_INVALIDMINMAXSIZES: "Min size is more than max size.", ErrorCode.AUTOQUADMESHER_NEGATIVEINPUTPARAMETER: "Input parameters contains negative value.", + ErrorCode.INVALIDFILEEXTENSIONFORFLUENTCASEEXPORT: "Provided file extension is invalid. If cff_format is set to False, then supported extensions are .cas and .cas.gz. If cff_format is set to True, then supported extension is .cas.h5 .", } prime_warning_messages = { From 3e27a7286ba116de0516f1a21e440805ee0770fb Mon Sep 17 00:00:00 2001 From: srpyprime <94401560+srpyprime@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:22:58 +0530 Subject: [PATCH 3/3] Update expressions.rst (#655) --- doc/source/user_guide/expressions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/expressions.rst b/doc/source/user_guide/expressions.rst index 6507972be9..e4e9b92f54 100644 --- a/doc/source/user_guide/expressions.rst +++ b/doc/source/user_guide/expressions.rst @@ -10,8 +10,8 @@ can be used within a string as follows: * ``abc\*`` collects all required entities with a name starting with abc. * ``\*abc`` collects all required entities with a name ending with abc. * ``\*abc*`` collects all required entities with a name containing abc. -* ``!abc\*`` collects all required entities with a name that is not starting with ab. -* ``\*abc,\*xyz`` ``\*abc \*xyz`` collects all required entities with a name ending with abc or xyz. A comma or a space represents ```OR``. +* ``!abc\*`` collects all required entities with a name that is not starting with abc. +* ``\*abc,\*xyz`` ``\*abc \*xyz`` collects all required entities with a name ending with abc or xyz. A comma or a space represents ``OR``. The following example uses expressions in the :class:`ScopeDefinition ` class. The :attr:`part_expression ` parameter