From 06b77e1ef0743fe2e585ef186c5d555a77012132 Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 5 Dec 2024 04:20:36 +0000 Subject: [PATCH 1/2] use cpu8 runners for build; remove unnecessary mac condition --- .github/workflows/gh-build-and-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-build-and-test.yml b/.github/workflows/gh-build-and-test.yml index 430fbf5b..ffc6f959 100644 --- a/.github/workflows/gh-build-and-test.yml +++ b/.github/workflows/gh-build-and-test.yml @@ -27,9 +27,11 @@ jobs: with: client-repo: ${{ github.event.repository.name }} target-device: ${{ inputs.target-device }} - runs-on: ${{ (inputs.host-platform == 'linux-x64' && 'linux-amd64-cpu16') || (inputs.host-platform == 'linux-aarch64' && 'linux-arm64-cpu16') || (inputs.host-platform == 'mac' && 'macos-latest') }} + runs-on: ${{ (inputs.host-platform == 'linux-x64' && 'linux-amd64-cpu8') || + (inputs.host-platform == 'linux-aarch64' && 'linux-arm64-cpu8') }} build-type: ${{ inputs.build-type }} - use-container: ${{ inputs.host-platform == 'linux-x64' || inputs.host-platform == 'linux-aarch64'}} + use-container: ${{ inputs.host-platform == 'linux-x64' || + inputs.host-platform == 'linux-aarch64'}} host-platform: ${{ inputs.host-platform }} dependencies-file: "" build-mode: ${{ inputs.build-mode }} From 61be96cfce5c64ad0ad96e53fc3bb6e474c136d9 Mon Sep 17 00:00:00 2001 From: Leo Fang Date: Thu, 5 Dec 2024 04:23:16 +0000 Subject: [PATCH 2/2] always require manual CI triggering --- .github/copy-pr-bot.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/copy-pr-bot.yaml b/.github/copy-pr-bot.yaml index 895ba83e..2771228b 100644 --- a/.github/copy-pr-bot.yaml +++ b/.github/copy-pr-bot.yaml @@ -2,3 +2,6 @@ # https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/ enabled: true +# always require manual CI triggering, ignoring signed commits +auto_sync_draft: false +auto_sync_ready: false