From 9742ca11a914ced58a99956bdc5c7edca2a8b27b Mon Sep 17 00:00:00 2001 From: karl <3255660+karlcc@users.noreply.github.com> Date: Fri, 30 May 2025 11:00:27 +0800 Subject: [PATCH] chore: update workflow triggers to use workflow_dispatch --- .github/workflows/build-release.yml | 7 ++++--- .github/workflows/docker-build.yaml | 12 ++++++------ .github/workflows/format-build-frontend.yaml | 2 ++ .github/workflows/release-pypi.yml | 11 ++++++----- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 443d90419..469781e1e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -1,9 +1,10 @@ name: Release on: - push: - branches: - - main # or whatever branch you want to use + # push: + # branches: + # - main # or whatever branch you want to use + workflow_dispatch: jobs: release: diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index e61a69f33..de220aff0 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -2,12 +2,12 @@ name: Create and publish Docker images with specific build args on: workflow_dispatch: - push: - branches: - - main - - dev - tags: - - v* + # push: + # branches: + # - main + # - dev + # tags: + # - v* env: REGISTRY: ghcr.io diff --git a/.github/workflows/format-build-frontend.yaml b/.github/workflows/format-build-frontend.yaml index 9a007581f..87a0bf662 100644 --- a/.github/workflows/format-build-frontend.yaml +++ b/.github/workflows/format-build-frontend.yaml @@ -22,6 +22,8 @@ jobs: build: name: 'Format & Build Frontend' runs-on: ubuntu-latest + env: + NODE_OPTIONS: '--max-old-space-size=4096' steps: - name: Checkout Repository uses: actions/checkout@v4 diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index fd1adab3a..473cbe82f 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -1,11 +1,12 @@ name: Release to PyPI on: - push: - branches: - - main # or whatever branch you want to use - - pypi-release - +# push: +# branches: +# - main # or whatever branch you want to use +# - pypi-release + workflow_dispatch: + jobs: release: runs-on: ubuntu-latest