From a82e637955b7e756ab0418d46d68ce6e9dd7895d Mon Sep 17 00:00:00 2001 From: jcant0n Date: Tue, 1 Sep 2026 10:11:10 +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 613ad57..4818f29 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 || 'main' }} 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]' }}"