Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 12, 2025

The Super-Linter workflow was only running on pull requests targeting the main branch, which caused linting issues to be discovered late in the release process. When creating release branches (like dotnet10-p7) and merging area-specific pull requests into those branches, the linting checks were bypassed, leading to a accumulation of issues that were only caught during the final merge to main.

This change updates the Super-Linter workflow configuration to run on pull requests to all branches by changing:

pull_request:
  branches: [main]

to:

pull_request:
  branches: '**'

This matches the pattern already used by the markdown-link-check.yml workflow and ensures that linting runs consistently across all pull requests, regardless of the target branch.

With this fix, area-specific pull requests (like dotnet10-p7-libraries targeting dotnet10-p7) will now trigger the Super-Linter, catching issues early in the development process rather than during the final merge.

Fixes #10034.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Super-Linter should run on pull requests to branches other than Main Fix Super-Linter to run on pull requests to all branches Aug 12, 2025
@Copilot Copilot AI requested a review from jongalloway August 12, 2025 23:22
Copilot finished work on behalf of jongalloway August 12, 2025 23:22
@jongalloway jongalloway marked this pull request as ready for review August 12, 2025 23:23
@jongalloway jongalloway merged commit cef1a96 into main Aug 13, 2025
7 checks passed
@jongalloway jongalloway deleted the copilot/fix-10034 branch August 13, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Super-Linter should run on pull requests to branches other than Main
3 participants