Skip to content

Add GitHub Actions workflow to verify PR labels #25145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 11, 2025
Merged

Conversation

TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Mar 8, 2025

PR Summary

This pull request introduces a new GitHub Actions workflow to verify that pull requests have appropriate labels. The workflow ensures that every pull request has at least one label starting with 'cl-'.

  • Added a new GitHub Actions workflow file .github/workflows/labels.yml to verify PR labels. The workflow triggers on pull request events (opened, edited, labeled, unlabeled) and checks if the PR has at least one label starting with 'cl-'.

PR Context

All PR must have at least one Changelog label.

PR Checklist

@TravisEz13 TravisEz13 requested a review from a team as a code owner March 8, 2025 22:44
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 8, 2025
@TravisEz13 TravisEz13 added CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log and removed CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log labels Mar 8, 2025
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 11, 2025
@TravisEz13
Copy link
Member Author

/azp run PowerShell-CI-linux-packaging, PowerShell-Windows-Packaging-CI

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@TravisEz13 TravisEz13 merged commit b3297ff into master Mar 11, 2025
35 of 36 checks passed
@TravisEz13 TravisEz13 deleted the addLabelGhAction branch March 11, 2025 19:38
Copy link
Contributor

microsoft-github-policy-service bot commented Mar 11, 2025

📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackPort-7.4.x-Done BackPort-7.5.x-Done CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants