ci(struts6): adjust workflows to use the new branch names (#1658)

This commit is contained in:
Lukasz Lenart
2026-04-10 08:23:04 +02:00
committed by GitHub
parent 94e3ffd1e7
commit 0e22570763
6 changed files with 23 additions and 9 deletions
+11 -2
View File
@@ -24,11 +24,20 @@ github:
# it does not work because our github teams are private/secret, see INFRA-25666
require_code_owner_reviews: false
required_approving_review_count: 0
release/*:
support/struts-6-x-x:
# contexts are the names of checks that must pass.
required_status_checks:
contexts:
- "Build and Test (JDK 8)"
- "Build and Test (8)"
required_pull_request_reviews:
# it does not work because our github teams are private/secret, see INFRA-25666
require_code_owner_reviews: false
required_approving_review_count: 0
release/struts-6-*:
# contexts are the names of checks that must pass.
required_status_checks:
contexts:
- "Build and Test (8)"
required_pull_request_reviews:
# it does not work because our github teams are private/secret, see INFRA-25666
require_code_owner_reviews: false
+1
View File
@@ -18,6 +18,7 @@ name: "CodeQL"
on:
push:
branches:
- 'support/struts-6-x-x'
- 'release/*'
pull_request:
+2 -1
View File
@@ -19,7 +19,8 @@ on:
pull_request:
push:
branches:
- master
- 'support/struts-6-x-x'
- 'release/*'
permissions: read-all
+3 -1
View File
@@ -20,7 +20,9 @@ on:
schedule:
- cron: "30 1 * * 6" # Weekly on Saturdays
push:
branches: [ "master" ]
branches:
- 'support/struts-6-x-x'
- 'release/*'
permissions: read-all
+2 -1
View File
@@ -19,7 +19,8 @@ on:
pull_request:
push:
branches:
- release/6-8-x
- 'support/struts-6-x-x'
- 'release/*'
permissions: read-all
Vendored
+4 -4
View File
@@ -99,7 +99,7 @@ pipeline {
stage('Code Quality') {
when {
anyOf {
branch 'release/struts-6-7-x'
branch 'support/struts-6-x-x'
}
}
steps {
@@ -145,7 +145,7 @@ pipeline {
}
stage('Build Source & JavaDoc') {
when {
branch 'release/struts-6-8-x'
branch 'support/struts-x-x-x'
}
steps {
dir("local-snapshots-dir/") {
@@ -156,7 +156,7 @@ pipeline {
}
stage('Deploy Snapshot') {
when {
branch 'release/struts-6-8-x'
branch 'support/struts-6-x-x'
}
steps {
withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
@@ -166,7 +166,7 @@ pipeline {
}
stage('Upload nightlies') {
when {
branch 'release/struts-6-8-x'
branch 'support/struts-6-x-x'
}
steps {
sh './mvnw -B package -DskipTests'