ci(release): standardize production workflows on main

Route production builds, releases, and changelog generation through `main`, update contribution guidance for main/next branch targets, and cover the branch policy in workflow tests.
This commit is contained in:
Andras Bacsai committed 2026-08-12 13:12:55 +02:00
1 parent e2184d30a2
commit 08627795a5
12 files changed
+79 -32

No files matched your search

+2 -2
View File
@@ -30,9 +30,9 @@ jobs:
version: ${{ steps.version.outputs.version }}
steps:
- name: Reject releases outside the production branch
if: ${{ ! contains(fromJSON('["v4.x", "main"]'), github.ref_name) }}
if: ${{ github.ref_name != 'main' }}
run: |
echo "Stable releases must run from v4.x or main, not ${{ github.ref_name }}."
echo "Stable releases must run from main, not ${{ github.ref_name }}."
exit 1
- uses: actions/checkout@v5