Skip to content

Add Dependabot auto-approve and auto-merge workflow#3103

Merged
jonathangreen merged 1 commit intomainfrom
chore/dependabot-auto-merge
Mar 4, 2026
Merged

Add Dependabot auto-approve and auto-merge workflow#3103
jonathangreen merged 1 commit intomainfrom
chore/dependabot-auto-merge

Conversation

@jonathangreen
Copy link
Member

Description

Adds a GitHub Actions workflow that automatically approves and squash-merges pull requests opened by Dependabot. This follows the approach described in the GitHub documentation for automating Dependabot with GitHub Actions.

Motivation and Context

I'd like to give this a try so we don't have to manually worry about keeping up with Dependabot version bumps. If this works well here in circulation, I'd like to roll it out to our other Python repos as well.

How Has This Been Tested?

This will be validated by observing the workflow behavior on incoming Dependabot PRs.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@jonathangreen jonathangreen requested a review from a team March 4, 2026 14:35
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.22%. Comparing base (031b9b8) to head (eb5483c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3103   +/-   ##
=======================================
  Coverage   93.22%   93.22%           
=======================================
  Files         491      491           
  Lines       45336    45336           
  Branches     6239     6239           
=======================================
  Hits        42264    42264           
  Misses       1985     1985           
  Partials     1087     1087           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonathangreen jonathangreen enabled auto-merge (squash) March 4, 2026 14:37
@jonathangreen jonathangreen merged commit 40ccda3 into main Mar 4, 2026
20 checks passed
@jonathangreen jonathangreen deleted the chore/dependabot-auto-merge branch March 4, 2026 14:39
jonathangreen added a commit to ThePalaceProject/virtual-library-card that referenced this pull request Mar 6, 2026
## Description

Adds a GitHub Actions workflow that automatically approves and
squash-merges pull requests opened by Dependabot. This is the same
workflow added to circulation in
ThePalaceProject/circulation#3103.

## Motivation and Context

Automates the approval and merging of Dependabot version bump PRs so
they don't require manual intervention. This follows the approach
described in the [GitHub documentation for automating Dependabot with
GitHub
Actions](https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/automating-dependabot-with-github-actions).

## How Has This Been Tested?

This workflow has already been validated in the [circulation
repository](ThePalaceProject/circulation#3103).
It will be further validated by observing the workflow behavior on
incoming Dependabot PRs in this repo.

## Checklist

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.
jonathangreen added a commit to ThePalaceProject/palace-tools that referenced this pull request Mar 6, 2026
## Description

Adds a GitHub Actions workflow that automatically approves and
squash-merges pull requests opened by Dependabot, mirroring the workflow
added to circulation in ThePalaceProject/circulation#3103. Also adds the
standard pull request template used across Palace Project repositories.

## Motivation and Context

This rolls out the Dependabot auto-merge workflow from [circulation PR
#3103](ThePalaceProject/circulation#3103) to
this repository, so we don't have to manually approve and merge
Dependabot version bumps. The PR template is added to keep this repo in
sync with the standard used across Palace Project repos.

## How Has This Been Tested?

This will be validated by observing the workflow behavior on incoming
Dependabot PRs.

## Checklist

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants