From 47251d0cd538a425e3a7633857b5a6abdb13700e Mon Sep 17 00:00:00 2001 From: Radu Iordache Date: Fri, 14 Aug 2026 13:50:23 +0200 Subject: [PATCH 1/3] fix(ci): standardize poetry version key in CI configuration files --- .github/workflows/integration.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 657466dd4..bff2b24b9 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,7 +25,7 @@ jobs: uses: Deltares-research/github-actions/actions/python-setup/poetry@main with: python-version: ${{ matrix.python-version }} - poetry-version: 2.3.3 + version: 2.3.3 - name: Login to DockerHub uses: docker/login-action@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index be4a99960..ae0b1026d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: uses: Deltares-research/github-actions/actions/python-setup/poetry@main with: python-version: ${{ matrix.python-version }} - poetry-version: 2.3.3 + version: 2.3.3 - name: Test with pytest run: | From ce2c86319d0619da8cbf5836a4d90087b7a42969 Mon Sep 17 00:00:00 2001 From: Radu Iordache Date: Fri, 14 Aug 2026 14:13:32 +0200 Subject: [PATCH 2/3] fix(ci): replace branch names with specific commit hashes in CI configuration files --- .github/workflows/integration.yml | 2 +- .github/workflows/mkdocs-deploy.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index bff2b24b9..5262e93b5 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -22,7 +22,7 @@ jobs: fetch-depth: 0 - name: Set up Python with Poetry - uses: Deltares-research/github-actions/actions/python-setup/poetry@main + uses: Deltares-research/github-actions/actions/python-setup/poetry@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: python-version: ${{ matrix.python-version }} version: 2.3.3 diff --git a/.github/workflows/mkdocs-deploy.yml b/.github/workflows/mkdocs-deploy.yml index bc4bae9ab..7accf3fb2 100644 --- a/.github/workflows/mkdocs-deploy.yml +++ b/.github/workflows/mkdocs-deploy.yml @@ -24,7 +24,7 @@ jobs: with: fetch-depth: 0 - - uses: Deltares-research/github-actions/actions/mkdocs-deploy@main + - uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: trigger: pr package-manager: poetry @@ -42,7 +42,7 @@ jobs: with: fetch-depth: 0 - - uses: Deltares-research/github-actions/actions/mkdocs-deploy@main + - uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: trigger: main package-manager: poetry @@ -88,7 +88,7 @@ jobs: echo "tag=${TAG}" >> "$GITHUB_OUTPUT" echo "prerelease=${IS_PRERELEASE}" >> "$GITHUB_OUTPUT" - - uses: Deltares-research/github-actions/actions/mkdocs-deploy@main + - uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: trigger: release package-manager: poetry diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e54be35fb..869031bb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - name: Create release with version bump id: release - uses: Deltares-research/github-actions/actions/release/github@main + uses: Deltares-research/github-actions/actions/release/github@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: release-branch: ${{ github.event.inputs.release_branch }} increment: ${{ github.event.inputs.increment }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ae0b1026d..8c25f41e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: brew install libomp - name: Set up Python with Poetry - uses: Deltares-research/github-actions/actions/python-setup/poetry@main + uses: Deltares-research/github-actions/actions/python-setup/poetry@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a with: python-version: ${{ matrix.python-version }} version: 2.3.3 From caa573c572a23edc30e028fb46da4f4d81329c5b Mon Sep 17 00:00:00 2001 From: Radu Iordache Date: Fri, 14 Aug 2026 14:16:19 +0200 Subject: [PATCH 3/3] fix(ci): update actions/checkout to use specific commit hashes in CI configuration files --- .github/workflows/integration.yml | 2 +- .github/workflows/mkdocs-deploy.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 4 ++-- .github/workflows/wheel-test.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5262e93b5..d4f50a258 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -17,7 +17,7 @@ jobs: os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 diff --git a/.github/workflows/mkdocs-deploy.yml b/.github/workflows/mkdocs-deploy.yml index 7accf3fb2..1f1842ea9 100644 --- a/.github/workflows/mkdocs-deploy.yml +++ b/.github/workflows/mkdocs-deploy.yml @@ -20,7 +20,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 @@ -38,7 +38,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 @@ -59,7 +59,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 ref: ${{ github.event.workflow_run.head_branch || github.ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 869031bb6..1da24f572 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: contents: write steps: - name: Check out the code - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 ref: ${{ github.event.inputs.release_branch }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8c25f41e9..b0504c3f1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: os: [windows-latest, ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 @@ -36,6 +36,6 @@ jobs: run: | poetry run pytest --cov . --cov-report xml:coverage-reports/coverage-hydrolib-core.xml --junitxml=xunit-reports/xunit-result-hydrolib-core.xml - - uses: codecov/codecov-action@v5 + - uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac env: CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} diff --git a/.github/workflows/wheel-test.yml b/.github/workflows/wheel-test.yml index 8b8e5b70f..362126d72 100644 --- a/.github/workflows/wheel-test.yml +++ b/.github/workflows/wheel-test.yml @@ -23,7 +23,7 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 with: fetch-depth: 0 ref: ${{ inputs.ref }}