Repository navigation
ci: auto-merge update PRs and stagger maintenance schedules - #387
Conversation
|
| # .github/workflows/dependabot-auto-merge.yml | ||
| name: Dependabot auto-merge | ||
|
|
||
| on: pull_request |
There was a problem hiding this comment.
If the repository uses GitHub's default Dependabot settings, this pull_request workflow receives a read-only GITHUB_TOKEN despite the declared write permissions. For patch and minor updates, gh pr review --approve fails, so the workflow never reaches gh pr merge.
Use pull_request_target for this metadata-only workflow. Keep the Dependabot author check and avoid checking out or running PR code.
| on: pull_request | |
| on: pull_request_target |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #387 +/- ##
=======================================
Coverage 93.03% 93.03%
=======================================
Files 6 6
Lines 445 445
=======================================
Hits 414 414
Misses 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Adds a Dependabot auto-merge workflow and enables auto-merge for the lock and pre-commit update PRs.
Staggers the three weekly jobs: