Skip to content

Instantly share code, notes, and snippets.

View brandtkeller's full-sized avatar

Brandt Keller brandtkeller

View GitHub Profile
@brandtkeller
brandtkeller / milestone.yaml
Created May 8, 2025 21:44
Automate milestone assignment to merged pr's
# File: .github/workflows/auto-milestone.yml
name: Auto-Assign Next-Minor Milestone
on:
pull_request:
types: [closed]
jobs:
add-milestone:
if: ${{ github.event.pull_request.merged == true }}
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"github.com/qri-io/jsonschema"
)