From 6d2ee7083136fc28b0030fe484d314815a171138 Mon Sep 17 00:00:00 2001 From: Keleborn <22352763+Celandriel@users.noreply.github.com> Date: Fri, 3 Apr 2026 11:36:19 -0700 Subject: [PATCH] ci: Use test-staging branch of azerothcore-wotlk for test-staging PRs (#2280) ## Pull Request Description Should sync the test staging branch compile checks. ## Feature Evaluation - Describe the **minimum logic** required to achieve the intended behavior. - Describe the **processing cost** when this logic executes across many bots. ## How to Test the Changes ## Impact Assessment - Does this change increase per-bot/per-tick processing or risk scaling poorly with thousands of bots? - - [ ] No, not at all - - [ ] Minimal impact (**explain below**) - - [ ] Moderate impact (**explain below**) - Does this change modify default bot behavior? - - [x] No - - [ ] Yes (**explain why**) - Does this change add new decision branches or increase maintenance complexity? - - [x] No - - [ ] Yes (**explain below**) ## Messages to Translate - Does this change add bot messages to translate? - - [x] No - - [ ] Yes (**list messages in the table**) | Message key | Default message | | --------------- | ------------------ | | | | | | | ## AI Assistance - Was AI assistance used while working on this change? - - [ ] No - - [x] Yes (**explain below**) Wrote the changes. I tested them. Claude Opus. ## Final Checklist - - [x] Stability is not compromised. - - [x] Performance impact is understood, tested, and acceptable. - - [x] Added logic complexity is justified and explained. - - [x] Documentation updated if needed (Conf comments, WiKi commands). ## Notes for Reviewers Co-authored-by: Claude Opus 4.6 (1M context) --- .github/workflows/core_build.yml | 2 +- .github/workflows/macos_build.yml | 2 +- .github/workflows/windows_build.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index ac6ee60d8..6021238e6 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -39,7 +39,7 @@ jobs: uses: actions/checkout@v3 with: repository: 'mod-playerbots/azerothcore-wotlk' - ref: 'Playerbot' + ref: ${{ (github.base_ref || github.ref_name) == 'test-staging' && 'test-staging' || 'Playerbot' }} - name: Set reusable strings id: strings diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index ab4d83daa..a7b5a5e13 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v4 with: repository: 'mod-playerbots/azerothcore-wotlk' - ref: 'Playerbot' + ref: ${{ (github.base_ref || github.ref_name) == 'test-staging' && 'test-staging' || 'Playerbot' }} - name: Checkout Playerbot Module uses: actions/checkout@v4 with: diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 121d97751..94d6af108 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v3 with: repository: 'mod-playerbots/azerothcore-wotlk' - ref: 'Playerbot' + ref: ${{ (github.base_ref || github.ref_name) == 'test-staging' && 'test-staging' || 'Playerbot' }} path: 'ac' - name: Checkout Playerbot Module uses: actions/checkout@v3