Draft
Conversation
Added a new GitHub Actions workflow to automate auto-merging of Dependabot pull requests. This improves dependency management by reducing manual intervention for updating dependencies. Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a new GitHub Actions workflow that delegates Dependabot pull request auto-merge behavior to a centralized reusable workflow, configuring appropriate triggers and permissions. Sequence diagram for Dependabot PR auto-merge via reusable workflowsequenceDiagram
actor DependabotBot
actor Developer
participant GitHubAPI
participant RepoWorkflow as RepoWorkflow_dependabot_automerge
participant SharedWorkflow as SharedWorkflow_dependabot_automerge
DependabotBot->>GitHubAPI: Create_or_update_PR
GitHubAPI-->>DependabotBot: PR_created_or_updated
GitHubAPI->>RepoWorkflow: Trigger_pull_request_event
Note over RepoWorkflow: Event types: opened, reopened,
Note over RepoWorkflow: synchronize, ready_for_review
RepoWorkflow->>SharedWorkflow: Invoke_reusable_workflow
SharedWorkflow->>GitHubAPI: Check_PR_source_and_status
GitHubAPI-->>SharedWorkflow: PR_is_Dependabot_and_checks_passed
SharedWorkflow->>GitHubAPI: Merge_PR
Developer->>GitHubAPI: Trigger_workflow_dispatch
GitHubAPI->>RepoWorkflow: Start_manual_run
RepoWorkflow->>SharedWorkflow: Invoke_reusable_workflow_manual
SharedWorkflow->>GitHubAPI: Evaluate_and_merge_eligible_PRs
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Workflow
Files Added
Test plan
🌿 Generated by Terry
ℹ️ Tag @terragon-labs to ask questions and address PR feedback
📎 Task: https://www.terragonlabs.com/task/f90e4372-29c0-450f-a3be-d3b5062fa851
Summary by Sourcery
CI: