-
Notifications
You must be signed in to change notification settings - Fork 89
Add workflow to sync PR labels from closing issues #601
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
base: main
Are you sure you want to change the base?
Conversation
Introduces a GitHub Actions workflow that synchronizes labels from issues closed by a pull request, excluding 'help wanted' and 'good first issue' labels. This helps maintain label consistency between issues and pull requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a GitHub Actions workflow that automatically synchronizes labels from issues to pull requests that close those issues. The workflow uses the williambdean/closing-labels action and excludes common triage labels ('help wanted' and 'good first issue') from being copied.
Key Changes
- Introduces automated label synchronization from closing issues to PRs
- Uses
pull_request_targettrigger for security with appropriate write permissions - Configures exclusion of triage labels to maintain clean PR labeling
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #601 +/- ##
=======================================
Coverage 93.27% 93.27%
=======================================
Files 37 37
Lines 5632 5632
Branches 367 367
=======================================
Hits 5253 5253
Misses 248 248
Partials 131 131 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Introduces a GitHub Actions workflow that synchronizes labels from issues closed by a pull request, excluding 'help wanted' and 'good first issue' labels. This helps maintain label consistency between issues and pull requests.
📚 Documentation preview 📚: https://causalpy--601.org.readthedocs.build/en/601/