Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tox-dev/github-workflows
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: tox-dev/github-workflows
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/release-tail
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 23 files changed
  • 1 contributor

Commits on Nov 4, 2026

  1. ✨ feat(release-notes): add reusable workflow

    `release-notes.yaml` renders the GitHub Release body in a read-only job
    and uploads it as an artifact. Its changelog defaults to the path in the
    committed Towncrier configuration, and the previous tag comes from
    `render-release-notes`, so callers drop their own previous-tag and upload
    steps.
    
    `render-release-notes` gains a `package` input that renders one package
    section of a shared Markdown changelog, for repositories that release
    several packages from one tag namespace.
    gaborbernat committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    a66828a View commit details
    Browse the repository at this point in the history
  2. ✨ feat(release): add reusable GitHub Release workflow

    `github-release.yaml` checks the PyPI distributions with
    `reconcile-pypi-artifacts`, then publishes the GitHub Release with
    `publish-github-release`. The job runs in the caller's `release`
    environment with `contents: write`, so a caller cannot forget the
    environment, which several callers did. The caller keeps its PyPI upload
    job, because trusted publishing cannot run in a reusable workflow.
    
    Callers pass `title-prefix` for tags such as `v1.2.3`, and
    `assets-directory` to attach the distributions. The README gains the
    caller examples for both workflows.
    gaborbernat committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    5ea6ca0 View commit details
    Browse the repository at this point in the history
  3. ✨ feat(lock): expire nab cutoff exceptions

    A `[tool.nab]` cutoff exception outlives its release unless someone
    removes it, so the lock check now requires an expiry date for each one.
    Nab rejects unknown keys in a package table, so the date sits in a
    comment directly above the table header or dotted key:
    
        # expires 2026-11-09
        [tool.nab.packages.release-creator]
        uploaded-prior-to = 2026-11-02T21:45:00Z
    
    `refresh-release-lock` in `check` mode runs `check_nab_exceptions.py`
    before it installs Nab. It fails, and names the package, when an
    exception has no comment, a malformed date, a date already past, or a
    `[[tool.nab.package-rules]]` cutoff, which the check does not read.
    A standalone `nab.toml` is checked too. Dates are inclusive: the
    exception is valid through its date.
    gaborbernat committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    65cb878 View commit details
    Browse the repository at this point in the history
  4. ✨ feat(check-nab-exceptions): add the action

    The expiry check was a step inside `refresh-release-lock`, reachable only
    through its check mode. Tools run through actions in this repository, so
    the check moves into `check-nab-exceptions`, a composite Action that
    callers and the lock actions can call. `refresh-release-lock` calls it in
    check mode.
    gaborbernat committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    566e7a2 View commit details
    Browse the repository at this point in the history
  5. ✨ feat(upgrade-release-tools): check exceptions

    The weekly lock refresh now runs the cutoff exception check before it
    refreshes the lock. A caller whose `[tool.nab]` exception has passed its
    date, or has no date, fails the scheduled run and sees the package name,
    even when no release input changed. The check-mode call in
    `refresh-release-lock` stays.
    
    The README describes the three places the check runs.
    gaborbernat committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    2bb6106 View commit details
    Browse the repository at this point in the history
Loading