-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
Set up assign milestone to use base environment variables, not branch #16974
Conversation
WalkthroughThe changes enhance the GitHub Actions workflow for handling issues and pull requests upon closure. By transitioning from Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GitHub
participant Workflow
User->>GitHub: Closes Pull Request
GitHub->>Workflow: Trigger on pull_request_target
Workflow->>Workflow: Check permissions (issues: write, pull-requests: write)
Workflow->>GitHub: Update milestone
GitHub->>User: Milestone updated
Recent review detailsConfiguration used: .coderabbit.yml Files selected for processing (1)
Additional comments not posted (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
See test results for failed build of commit 4991b59c1d |
Link to issue number:
Fixup #16779
Summary of the issue:
The GitHub actions to assign milestones to closed issues and PRs is failing for community PRs.
This is because the action is looking in the forks repository for the milestone ID environment variable.
Description of user facing changes
Fixes assigning milestones to community contributions
Description of development approach
using the
pull_request_target
event rather thanpull_request
, uses the target (i.e. this) repositories environment variables.Testing strategy:
Known issues with pull request:
Code Review Checklist:
Summary by CodeRabbit
New Features
Improvements