Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
# Enable version updates for NuGet packages
# NuGet package dependencies
- package-ecosystem: "nuget"
directory: "/"
schedule:
Expand All @@ -13,17 +13,33 @@ updates:
commit-message:
prefix: "chore"
include: "scope"

# Enable version updates for GitHub Actions
# Group minor and patch updates together
groups:
minor-and-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"

# GitHub Actions dependencies
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
day: "monday"
time: "09:00"
open-pull-requests-limit: 5
reviewers:
- "BeingCiteable"
commit-message:
prefix: "ci"
include: "scope"
include: "scope"
# Group minor and patch updates together
groups:
minor-and-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"
34 changes: 22 additions & 12 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains the GitHub Actions workflows for building, testing, rele

## 📋 Workflow Overview

**Simple and Clean:** Only 4 active workflows - no archived clutter, no legacy code.
**Simple and Clean:** Only 3 active workflows - no archived clutter, no legacy code.

The CI/CD pipeline consists of three main workflows:

Expand Down Expand Up @@ -265,15 +265,23 @@ Built into the **Build and Test** workflow:

These tests run on **every build** before artifacts are created.

### Dependabot Auto-merge
**File:** `dependabot-automerge.yml`
### Dependabot (GitHub Feature)
**File:** `.github/dependabot.yml`

Automatically approves and merges:
- Minor version updates
- Patch version updates
Automatically monitors and updates dependencies:
- 📦 **NuGet packages** - Weekly on Mondays
- ⚙️ **GitHub Actions** - Weekly on Mondays
- 🔄 **Groups** minor and patch updates together
- 👤 Requests review from BeingCiteable
- ⚠️ Major updates require manual review

**Requires manual review:**
- Major version updates
**Setup Required:**
1. Go to **Settings** → **General** → **Pull Requests**
2. Enable "**Allow auto-merge**"
3. Dependabot will create grouped PRs for minor/patch updates
4. You can enable auto-merge on those PRs directly

This replaces the need for a custom auto-merge workflow!

---

Expand Down Expand Up @@ -464,18 +472,20 @@ dotnet nuget push *.nupkg \

## 🎯 Workflow Summary

**Total Active Workflows:** 4
**Total Active Workflows:** 3

| Workflow | Purpose | Trigger | Lines |
|----------|---------|---------|-------|
| `build-and-test.yml` | Multi-framework build & validation | Every commit | 232 |
| `create-release.yml` | Create GitHub Release | Manual | 194 |
| `publish-nuget.yml` | Publish to NuGet.org | On release | 230 |
| `dependabot-automerge.yml` | Auto-merge dependencies | Dependabot PR | 33 |

**Total:** 689 lines of clean, focused workflow code.
**Total:** 656 lines of clean, focused workflow code.

**Additional Configuration:**
- `.github/dependabot.yml` - Dependency monitoring (uses GitHub's native features)

**Philosophy:** Simple, essential, maintainable. No archived workflows, no legacy code, no clutter.
**Philosophy:** Simple, essential, maintainable. No archived workflows, no legacy code, no clutter. Use GitHub's built-in features when possible.

---

Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/dependabot-automerge.yml

This file was deleted.

Loading