[GHA] Treat v1.11 as a release branch (#2873)

* [GHA] Add `v1.11` branch target
* [GHA] Treat `v1.11` as a release branch

---------

Co-authored-by: Andrey Volk <andywolk@gmail.com>
This commit is contained in:
Serhii Ivanov
2026-05-07 17:19:08 +02:00
committed by GitHub
parent 8babcee3ea
commit 1a97ed38e6
7 changed files with 12 additions and 8 deletions
+5 -4
View File
@@ -6,6 +6,7 @@ on:
branches:
- master
- v1.10
- v1.11
paths:
- "**"
workflow_dispatch:
@@ -68,14 +69,14 @@ jobs:
id: release
run: |
if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
if [[ '${{ github.base_ref }}' == 'v1.10' ]]; then
if [[ '${{ github.base_ref }}' == 'v1.10' || '${{ github.base_ref }}' == 'v1.11' ]]; then
echo 'release=release' | tee -a $GITHUB_OUTPUT
else
echo 'release=unstable' | tee -a $GITHUB_OUTPUT
fi
elif [[ '${{ github.event_name }}' == 'workflow_dispatch' ]]; then
echo 'release=${{ inputs.release }}' | tee -a $GITHUB_OUTPUT
elif [[ '${{ github.ref }}' == 'refs/heads/v1.10' ]]; then
elif [[ '${{ github.ref }}' == 'refs/heads/v1.10' || '${{ github.ref }}' == 'refs/heads/v1.11' ]]; then
echo 'release=release' | tee -a $GITHUB_OUTPUT
else
echo 'release=unstable' | tee -a $GITHUB_OUTPUT
@@ -157,7 +158,7 @@ jobs:
(
github.event_name == 'push' &&
github.repository == 'signalwire/freeswitch' &&
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
contains(fromJSON('["master", "v1.10", "v1.11"]'), github.ref_name)
) ||
(github.event_name == 'workflow_dispatch' && inputs.publish)
}}
@@ -192,7 +193,7 @@ jobs:
${{
github.event_name == 'push' &&
github.repository == 'signalwire/freeswitch' &&
contains(fromJSON('["master", "v1.10"]'), github.ref_name)
contains(fromJSON('["master", "v1.10", "v1.11"]'), github.ref_name)
}}
needs:
- deb-public
+1
View File
@@ -5,6 +5,7 @@ on:
branches:
- master
- v1.10
- v1.11
pull_request:
types:
- opened
+2
View File
@@ -6,10 +6,12 @@ on:
branches:
- master
- v1.10
- v1.11
pull_request:
branches:
- master
- v1.10
- v1.11
jobs:
build:
+1 -1
View File
@@ -91,7 +91,7 @@ jobs:
if: |
failure() &&
github.event_name == 'push' &&
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10')
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11')
uses: signalwire/actions-template/.github/actions/slack@main
with:
CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
+1 -1
View File
@@ -91,7 +91,7 @@ jobs:
if: |
failure() &&
github.event_name == 'push' &&
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10')
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11')
uses: signalwire/actions-template/.github/actions/slack@main
with:
CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
+1 -1
View File
@@ -128,7 +128,7 @@ jobs:
if: |
failure() &&
github.event_name == 'push' &&
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10')
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11')
uses: signalwire/actions-template/.github/actions/slack@main
with:
CHANNEL: ${{ secrets.SLACK_DEVOPS_CI_CHANNEL }}
+1 -1
View File
@@ -40,4 +40,4 @@ jobs:
with:
name: MSI Package
path: D:\a\freeswitch\freeswitch\x64\*.msi
if: contains(github.event.pull_request.title, ':upload-artifacts') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10'
if: contains(github.event.pull_request.title, ':upload-artifacts') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/v1.10' || github.ref == 'refs/heads/v1.11'