chore: add optional Beads issue queue guidance (#86) #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |