Skip to content

Propagate changes from main into development#982

Merged
Wikid82 merged 3 commits into
developmentfrom
main
Apr 27, 2026
Merged

Propagate changes from main into development#982
Wikid82 merged 3 commits into
developmentfrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated PR to propagate changes from main into development.

Triggered by push to main.

@github-advanced-security
Copy link
Copy Markdown
Contributor

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@Wikid82 Wikid82 marked this pull request as ready for review April 27, 2026 11:50
Copilot AI review requested due to automatic review settings April 27, 2026 11:50
@Wikid82 Wikid82 merged commit 9dcbead into development Apr 27, 2026
65 of 66 checks passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated merge-forward PR bringing main updates into development, with additional workflow/config adjustments that affect branch propagation behavior and Renovate targeting.

Changes:

  • Disable downstream propagation from development into feature/* and hotfix/* branches in the propagate workflow.
  • Narrow Renovate’s baseBranchPatterns to only development (removing feature/beta-release).
  • Add a Renovate custom regex manager intended to track golangci-lint version in the quality checks workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/propagate-changes.yml Stops creating downstream propagation PRs when pushing to development.
.github/renovate.json Restricts Renovate PR targeting to development and adds a custom manager intended to track golangci-lint.

Comment thread .github/renovate.json
],
"baseBranchPatterns": [
"feature/beta-release",
"development"
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With baseBranchPatterns now limited to development, Renovate will no longer create PRs targeting other long-lived branches such as feature/beta-release (which is referenced in multiple repo docs/scripts as an active branch). If Renovate updates are still expected on that branch, add it back (or use a broader pattern such as feature/** for the specific branches you want Renovate to maintain).

Suggested change
"development"
"development",
"feature/beta-release"

Copilot uses AI. Check for mistakes.
Comment thread .github/renovate.json
Comment on lines +245 to +258
},
{
"customType": "regex",
"description": "Track golangci-lint version in quality checks workflow",
"managerFilePatterns": [
"/^\\.github/workflows/quality-checks\\.yml$/"
],
"matchStrings": [
"# renovate: datasource=github-releases depName=golangci/golangci-lint\\n\\s+version: v(?<currentValue>[^\\s]+)"
],
"depNameTemplate": "golangci/golangci-lint",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v(?<version>.*)"
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new regex manager is unlikely to match the current .github/workflows/quality-checks.yml: that workflow sets with: version: latest for golangci-lint-action and does not include the expected # renovate: ... depName=golangci/golangci-lint comment or a pinned version: vX.Y.Z line. As-is, Renovate will not be able to extract/update the golangci-lint version from that workflow. Either adjust matchStrings to the actual pattern you want to manage, or (preferably) pin the golangci-lint tool version in the workflow and add the matching renovate comment so Renovate can track it deterministically.

Suggested change
},
{
"customType": "regex",
"description": "Track golangci-lint version in quality checks workflow",
"managerFilePatterns": [
"/^\\.github/workflows/quality-checks\\.yml$/"
],
"matchStrings": [
"# renovate: datasource=github-releases depName=golangci/golangci-lint\\n\\s+version: v(?<currentValue>[^\\s]+)"
],
"depNameTemplate": "golangci/golangci-lint",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",
"extractVersionTemplate": "^v(?<version>.*)"

Copilot uses AI. Check for mistakes.
Comment on lines 185 to 187
} else if (currentBranch === 'development') {
// Development -> Feature/Hotfix branches (The Pittsburgh Model)
// We propagate changes from dev DOWN to features/hotfixes so they stay up to date.

const branches = await github.paginate(github.rest.repos.listBranches, {
owner: context.repo.owner,
repo: context.repo.repo,
});

// Filter for feature/* and hotfix/* branches using regex
// AND exclude the branch that just got merged in (if any)
const targetBranches = branches
.map(b => b.name)
.filter(name => {
const isTargetType = /^feature\/|^hotfix\//.test(name);
const isExcluded = (name === excludedBranch);
return isTargetType && !isExcluded;
});

core.info(`Found ${targetBranches.length} target branches (excluding '${excludedBranch || 'none'}'): ${targetBranches.join(', ')}`);

for (const targetBranch of targetBranches) {
await createPR('development', targetBranch);
}
core.info('Push to development detected. No downstream propagation configured.');
}
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch handler used to open propagation PRs from development into feature/* and hotfix/*, but now it only logs and does nothing. This is a functional behavior change beyond "main -> development" propagation; if downstream branches still rely on staying current via this workflow, that automation is now disabled. Consider either restoring the previous downstream propagation logic, or updating the PR description/name (and/or adding a comment here) to explicitly document that downstream propagation is intentionally removed.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants