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
2026-08-12 13:12:55 +02:00
parent e2184d30a2
commit 08627795a5
12 changed files with 79 additions and 32 deletions
+2
View File
@@ -8,6 +8,8 @@ body:
value: |
> [!IMPORTANT]
> **Please ensure you are using the latest version of Coolify before submitting an issue, as the bug may have already been fixed in a recent update.** (Of course, if you're experiencing an issue on the latest version that wasn't present in a previous version, please let us know.)
>
> If you plan to submit a fix, branch from `main` and target `main` with your pull request.
- type: textarea
attributes:
+3 -3
View File
@@ -7,12 +7,12 @@ contact_links:
- name: 💡 Feature Request
url: https://github.com/coollabsio/coolify/discussions/categories/feature-requests
about: Suggest a new feature for Coolify.
about: Suggest a new feature for Coolify. Feature code should branch from `next` and target `next`.
- name: ⚙️ Service Request
url: https://github.com/coollabsio/coolify/discussions/categories/service-requests
about: Request a new service integration for Coolify.
about: Request a new service integration for Coolify. Service code should branch from `next` and target `next`.
- name: 🔧 Improvements
url: https://github.com/coollabsio/coolify/discussions/categories/improvements
about: Suggest improvements to existing features for Coolify.
about: Suggest improvements to existing features. Small fixes should target `main`; larger changes should target `next`.
+1 -1
View File
@@ -2,7 +2,7 @@ name: Coolify Helper Image
on:
push:
branches: [ "v4.x", "main" ]
branches: [ "main" ]
paths:
- .github/workflows/coolify-helper.yml
- docker/coolify-helper/Dockerfile
+1 -1
View File
@@ -2,7 +2,7 @@ name: Coolify Realtime
on:
push:
branches: [ "v4.x", "main" ]
branches: [ "main" ]
paths:
- .github/workflows/coolify-realtime.yml
- docker/coolify-realtime/**
+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
+1 -1
View File
@@ -2,7 +2,7 @@ name: Build Coolify (SHA)
on:
push:
branches: ["v4.x", "main"]
branches: ["main"]
permissions:
contents: read
@@ -3,7 +3,6 @@ name: Staging Build
on:
push:
branches-ignore:
- v4.x
- main
- v3.x
- '**v5.x**'
+1 -1
View File
@@ -2,7 +2,7 @@ name: Generate Changelog
on:
push:
branches: [ v4.x, main ]
branches: [ main ]
paths-ignore:
- .github/workflows/coolify-helper.yml
- .github/workflows/coolify-helper-next.yml