Skip to content

chore: add optional Beads issue queue guidance (#86) #12

chore: add optional Beads issue queue guidance (#86)

chore: add optional Beads issue queue guidance (#86) #12

name: Release Drafter
# Updates a draft GitHub Release on every push to `main` and on PR
# label / open / reopen events. The drafted release body becomes the
# `release.yml` workflow's input on tag push (see release.yml).
#
# Single-source-of-truth: the categories + version-resolver in
# .github/release-drafter.yml mirror the conventional-commit prefixes
# enforced by check_commit_types.py and the `Lint PR title` job.
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize, labeled, unlabeled]
branches: [main]
permissions:
contents: write # create/update draft releases
pull-requests: read
jobs:
draft:
runs-on: ubuntu-latest
name: Draft next release
steps:
- uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7 # v6
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}