From d3780d52329baeb95182a80081e11c9f84634ffd Mon Sep 17 00:00:00 2001 From: Zoheb Shaikh <26975142+ZohebShaikh@users.noreply.github.com> Date: Wed, 15 Jul 2026 13:17:02 +0000 Subject: [PATCH 1/2] chore: copier update to `5.3.0` --- .copier-answers.yml | 3 +-- .github/CONTRIBUTING.md | 2 +- .github/workflows/_container.yml | 14 +++++++------- .github/workflows/_dist.yml | 6 +++--- .github/workflows/_docs.yml | 8 ++++---- .github/workflows/_pypi.yml | 2 +- .github/workflows/_release.yml | 4 ++-- .github/workflows/_test.yml | 6 +++--- .github/workflows/_tox.yml | 4 ++-- 9 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 856234853d..9e3d252240 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 5.2.0 +_commit: 5.3.0 _src_path: https://github.com/DiamondLightSource/python-copier-template author_email: callum.forrester@diamond.ac.uk author_name: Callum Forrester @@ -10,7 +10,6 @@ description: Lightweight bluesky-as-a-service wrapper application. Also usable a a library. distribution_name: blueapi docker: true -docker_debug: false docs_type: sphinx git_platform: github.com github_org: DiamondLightSource diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 0c6b60c41a..ca7c2fb0d2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -24,4 +24,4 @@ It is recommended that developers use a [vscode devcontainer](https://code.visua This project was created using the [Diamond Light Source Copier Template](https://github.com/DiamondLightSource/python-copier-template) for Python projects. -For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/5.2.0/how-to.html). +For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/5.3.0/how-to.html). diff --git a/.github/workflows/_container.yml b/.github/workflows/_container.yml index d27b67ef91..c7f2de97a7 100644 --- a/.github/workflows/_container.yml +++ b/.github/workflows/_container.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: # Need this to get version number from last tag fetch-depth: 0 @@ -32,18 +32,18 @@ jobs: fi - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3 + uses: docker/setup-buildx-action@v4 - name: Log in to GitHub Docker Registry if: github.event_name != 'pull_request' - uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and export to Docker local cache - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 + uses: docker/build-push-action@v7 env: DOCKER_BUILD_RECORD_UPLOAD: false with: @@ -57,7 +57,7 @@ jobs: - name: Create tags for publishing image id: meta - uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5 + uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository }} tags: | @@ -65,8 +65,8 @@ jobs: type=raw,value=latest - name: Push cached image to container registry - if: github.ref_type == 'tag' - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 + if: inputs.publish && github.ref_type == 'tag' + uses: docker/build-push-action@v7 env: DOCKER_BUILD_RECORD_UPLOAD: false # This does not build the image again, it will find the image in the diff --git a/.github/workflows/_dist.yml b/.github/workflows/_dist.yml index cbafb68214..0d163c8e26 100644 --- a/.github/workflows/_dist.yml +++ b/.github/workflows/_dist.yml @@ -7,13 +7,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: # Need this to get version number from last tag fetch-depth: 0 - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v8.3.2 - name: Build sdist and wheel run: > @@ -21,7 +21,7 @@ jobs: uvx --from build pyproject-build - name: Upload sdist and wheel as artifacts - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@v7 with: name: dist path: dist diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml index b912fb75f6..0868b55839 100644 --- a/.github/workflows/_docs.yml +++ b/.github/workflows/_docs.yml @@ -11,7 +11,7 @@ jobs: run: sleep 60 - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: # Need this to get version number from last tag fetch-depth: 0 @@ -20,7 +20,7 @@ jobs: run: sudo apt-get install graphviz - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v8.3.2 - name: Build docs run: uv run --locked tox -e docs @@ -29,7 +29,7 @@ jobs: run: rm build/html/.doctrees/environment.pickle - name: Upload built docs artifact - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@v7 with: name: docs path: build @@ -47,7 +47,7 @@ jobs: if: github.ref_type == 'tag' || github.ref_name == 'main' # We pin to the SHA, not the tag, for security reasons. # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions - uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 + uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: .github/pages diff --git a/.github/workflows/_pypi.yml b/.github/workflows/_pypi.yml index fa78b9eae4..22b772ba12 100644 --- a/.github/workflows/_pypi.yml +++ b/.github/workflows/_pypi.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Download dist artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: dist path: dist diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 15171d4479..14b4b269a6 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: merge-multiple: true @@ -23,7 +23,7 @@ jobs: - name: Create GitHub Release # We pin to the SHA, not the tag, for security reasons. # https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions - uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 with: prerelease: ${{ contains(github.ref_name, 'a') || contains(github.ref_name, 'b') || contains(github.ref_name, 'rc') }} files: "*" diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index fd6f922101..b0a0e01d59 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 with: # Need this to get version number from last tag fetch-depth: 0 @@ -32,13 +32,13 @@ jobs: run: git branch --track main origin/main - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v8.3.2 - name: Run tests run: uv run --locked tox -e tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5 + uses: codecov/codecov-action@v7 with: name: ${{ inputs.python-version }}/${{ inputs.runs-on }} files: cov.xml diff --git a/.github/workflows/_tox.yml b/.github/workflows/_tox.yml index 7b386d72bb..356e8dd3ae 100644 --- a/.github/workflows/_tox.yml +++ b/.github/workflows/_tox.yml @@ -12,10 +12,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v7 - name: Install uv - uses: astral-sh/setup-uv@v7 + uses: astral-sh/setup-uv@v8.3.2 - name: Install helm plugins run: helm plugin install https://github.com/losisin/helm-values-schema-json.git --version 2.3.1 From 08a332c3c8936f618e0a2e4e9012ba374c4be464 Mon Sep 17 00:00:00 2001 From: Zoheb Shaikh <26975142+ZohebShaikh@users.noreply.github.com> Date: Wed, 15 Jul 2026 13:29:42 +0000 Subject: [PATCH 2/2] update checkout which where missed by checkout --- .github/workflows/_container.yml | 2 +- .github/workflows/_system_test.yml | 2 +- .github/workflows/backstage.yml | 2 +- .github/workflows/codeql.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_container.yml b/.github/workflows/_container.yml index c7f2de97a7..690576fe1c 100644 --- a/.github/workflows/_container.yml +++ b/.github/workflows/_container.yml @@ -85,7 +85,7 @@ jobs: needs: build_container steps: - name: checkout repo - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@v7 - name: install helm uses: Azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5 diff --git a/.github/workflows/_system_test.yml b/.github/workflows/_system_test.yml index de249a3841..7f566c9ea7 100644 --- a/.github/workflows/_system_test.yml +++ b/.github/workflows/_system_test.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@v7 with: # Need this to get version number from last tag fetch-depth: 0 diff --git a/.github/workflows/backstage.yml b/.github/workflows/backstage.yml index b4538207c4..a460e10333 100644 --- a/.github/workflows/backstage.yml +++ b/.github/workflows/backstage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - uses: actions/checkout@v7 - name: check catalog-info.yaml file uses: RoadieHQ/backstage-entity-validator@421bdcd5e3e400ef1913eb16d4f9dacdc5016801 # v0.6.0 with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3a35574449..7c21f522f3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -58,7 +58,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + uses: actions/checkout@v7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL