From 2c4ba1fe4c2dcb016b1cf810dd0c2e7ac36ac2f4 Mon Sep 17 00:00:00 2001 From: worgarside-dev Date: Wed, 23 Sep 2026 20:06:49 +0100 Subject: [PATCH 1/2] feat(ci): release manually and deploy published releases --- .github/workflows/semantic-release.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index ee4ff96..772dac8 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -2,13 +2,6 @@ name: Semantic Release on: - push: - branches: - - main - paths: - - pre_commit_hooks_dependency_sync/** - - '!pre_commit_hooks_dependency_sync/__init__.py' - workflow_dispatch: inputs: force-deployment: @@ -32,7 +25,10 @@ concurrency: jobs: release: + if: >- + github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' name: Release + # yamllint disable-line rule:line-length uses: worganisation/github-config-files/.github/workflows/__semantic-release.yml@0.7.1 with: python-version: '3.13' From 48f7f1a455b43f4832b177050a2bec0f178fa37e Mon Sep 17 00:00:00 2001 From: worgarside-dev Date: Wed, 23 Sep 2026 20:29:34 +0100 Subject: [PATCH 2/2] refactor(ci): use the unified semantic release runner --- .github/workflows/semantic-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 772dac8..7681a91 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -29,7 +29,7 @@ jobs: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main' name: Release # yamllint disable-line rule:line-length - uses: worganisation/github-config-files/.github/workflows/__semantic-release.yml@0.7.1 + uses: worganisation/github-config-files/.github/workflows/__semantic-release.yml@a3499886b00fc9840ca69480d9c1f799fbb78c83 with: python-version: '3.13' force-deployment: ${{ inputs.force-deployment != 'auto' && inputs.force-deployment || '' }}