From b38fb31381ee20fa5a6c94af8e5ae71636cd300a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:34:08 +0000 Subject: [PATCH 1/4] Update dependency numpy to v2.1.2 --- dependencies-dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies-dev b/dependencies-dev index 97a9a3e4e8..fc75845323 100644 --- a/dependencies-dev +++ b/dependencies-dev @@ -1,7 +1,7 @@ Cython==3.0.11 Jinja2==3.1.4 -numpy==2.0.1 ; python_version <= '3.9' -numpy==2.1.1 ; python_version > '3.9' +numpy==2.1.2 ; python_version <= '3.9' +numpy==2.1.2 ; python_version > '3.9' pybind11==2.13.6 cmake==3.30.3 setuptools==75.1.0 From 45f20b50f64afa0c9b10af77277446e9df904262 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 8 Oct 2024 15:54:45 +0100 Subject: [PATCH 2/4] DEBUG: write pr descr to console --- .github/workflows/pr-checklist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index 940fb4a258..d0822bc6f7 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -48,6 +48,7 @@ jobs: core.setOutput('body', pr_desc.data.body) core.setOutput('draft', pr_desc.data.draft) core.setOutput('author', pr_desc.data.user.login) + console.log(pr_desc.data) - name: Check if all checkboxes are checked id: checkboxes env: From b1c2ee3f7a9cc7837ddf6b789c0dc20b47d18ff7 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 8 Oct 2024 16:00:26 +0100 Subject: [PATCH 3/4] Check user type and remove debug line --- .github/workflows/pr-checklist.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index d0822bc6f7..d81fc88eb7 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -47,8 +47,7 @@ jobs: }); core.setOutput('body', pr_desc.data.body) core.setOutput('draft', pr_desc.data.draft) - core.setOutput('author', pr_desc.data.user.login) - console.log(pr_desc.data) + core.setOutput('author_type', pr_desc.data.user.type) - name: Check if all checkboxes are checked id: checkboxes env: @@ -56,8 +55,8 @@ jobs: run: | UNCHECKED=$(echo "$DESCRIPTION" | grep -c '\[ \]' || true) echo "unchecked=$UNCHECKED" >> $GITHUB_OUTPUT - - name: Fail if not all checkboxes are checked and PR is not draft - if: ${{ (steps.pr.outputs.draft == 'false') && (steps.checkboxes.outputs.unchecked != '0') && (steps.pr.outputs.author != 'renovate') }} + - name: Fail if not all checkboxes are checked, PR is not draft and author is not a bot + if: ${{ (steps.pr.outputs.draft == 'false') && (steps.checkboxes.outputs.unchecked != '0') && (steps.pr.outputs.author_type != 'Bot') }} run: | echo "Unchecked checkboxes: ${{ steps.checkboxes.outputs.unchecked }}" exit 1 From 2de82899d8521328bd909b2c3ae770520a2cf4a3 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Tue, 8 Oct 2024 21:22:54 +0100 Subject: [PATCH 4/4] Update dependencies-dev --- dependencies-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies-dev b/dependencies-dev index fc75845323..70167c50a4 100644 --- a/dependencies-dev +++ b/dependencies-dev @@ -1,6 +1,6 @@ Cython==3.0.11 Jinja2==3.1.4 -numpy==2.1.2 ; python_version <= '3.9' +numpy==2.0.1 ; python_version <= '3.9' numpy==2.1.2 ; python_version > '3.9' pybind11==2.13.6 cmake==3.30.3