Chore: Adjust Workflows for v5 (#5689)

* chore(workflows): remove unsued workflow

* chore(workflows): rename branches in workflows

* fix(license): update copyright year

* chore(workflows): update branches to ignore in staging build workflow

* chore(workflows): update branch references in issue processing and changelog generation

---------

Co-authored-by: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
This commit is contained in:
🏔️ Peak
2025-04-24 20:48:54 +02:00
committed by GitHub
parent bc52042ac5
commit ff9c31d4da
8 changed files with 10 additions and 75 deletions

View File

@@ -21,7 +21,7 @@ jobs:
async function processIssue(issueNumber, isFromPR = false, prBaseBranch = null) {
try {
if (isFromPR && prBaseBranch !== 'main') {
if (isFromPR && prBaseBranch !== 'v4.x') {
return;
}
@@ -70,7 +70,7 @@ jobs:
if (context.eventName === 'pull_request' || context.eventName === 'pull_request_target') {
const pr = context.payload.pull_request;
await processIssue(pr.number);
if (pr.merged && pr.base.ref === 'main' && pr.body) {
if (pr.merged && pr.base.ref === 'v4.x' && pr.body) {
const issueReferences = pr.body.match(/#(\d+)/g);
if (issueReferences) {
for (const reference of issueReferences) {