You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds a GitHub Actions workflow that prevents merges from preview
branches (release-preview-* pattern) to any target branches. The workflow
provides automated protection against accidental merges that could cause
version conflicts or unintended promotion of preview content.
Key features:
- Monitors all pull requests for release-preview-* source branches
- Blocks merges to any target branch with clear error messages
- Provides step-by-step resolution guidance
- Includes comprehensive job summaries and support contact info
- Uses PowerShell script for reliable pattern matching
Linked to ADO work item: AB#545482
echo "- **Restriction:** Preview content cannot be merged directly from 'release-preview-*' branches" >> $env:GITHUB_STEP_SUMMARY
58
+
echo "" >> $env:GITHUB_STEP_SUMMARY
59
+
echo "## Why This Restriction Exists" >> $env:GITHUB_STEP_SUMMARY
60
+
echo "This restriction maintains content quality and prevents preview material from inadvertently entering production branches." >> $env:GITHUB_STEP_SUMMARY
0 commit comments