From c2b84a704994469eb6eab0d9e539769431ad29db Mon Sep 17 00:00:00 2001 From: jcant0n Date: Tue, 1 Sep 2026 10:11:39 +0200 Subject: [PATCH] fix: sync standards from v2, not main The workflow held two defaults for the same value and they disagreed: the dispatch input defaulted to v2 while the `with:` fallback -- the one a scheduled run uses, because cron supplies no inputs -- said main. So manual syncs read v2 and the monthly sync read main, and this repository took whichever branch had spoken last. That is what flipped LICENSE between 2026 and 2025 every month. main has not moved in evergine-standards since 2026-03-19; v2 is twenty commits ahead and is what this workflow already pins for the reusable itself. Co-Authored-By: Claude Opus 5 --- .github/workflows/sync-standards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-standards.yml b/.github/workflows/sync-standards.yml index 3051a8e..76a3097 100644 --- a/.github/workflows/sync-standards.yml +++ b/.github/workflows/sync-standards.yml @@ -49,7 +49,7 @@ jobs: with: org: ${{ github.event.inputs.org || 'EvergineTeam' }} repo: ${{ github.event.inputs.repo || 'evergine-standards' }} - ref: ${{ github.event.inputs.ref || 'main' }} + ref: ${{ github.event.inputs.ref || 'v2' }} target_branch: ${{ github.event.inputs.target_branch || github.event.repository.default_branch }} script_path: ${{ github.event.inputs.script_path || 'sync-standards.ps1' }} commit_message: "${{ github.event.inputs.commit_message || vars.STANDARDS_COMMIT_MESSAGE || 'auto: sync standard files [skip ci]' }}"