From 23a08feaf1cc0513a7f3b2262fb27ece82dc0508 Mon Sep 17 00:00:00 2001 From: GeorgeDong32 Date: Sun, 11 May 2025 23:43:01 +0800 Subject: [PATCH] chore(workflows): update workflows for new repo structure --- .github/workflows/nightly-build.yml | 2 ++ .github/workflows/pr-ci.yml | 1 + .github/workflows/release.yml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 0a993f7963..e1687a6c51 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -52,6 +52,8 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + with: + ref: develop - name: Install Node.js uses: actions/setup-node@v4 diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index df32ff7133..3200140f77 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -5,6 +5,7 @@ on: pull_request: branches: - main + - develop jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8b1731d05..d7fa9142f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: steps: - name: Check out Git repository uses: actions/checkout@v4 + with: + ref: main - name: Get release tag id: get-tag