Skip to content

ci(release): keep a release PR open with release-please - #1467

Open
robinnsc wants to merge 1 commit into
mainfrom
ci/release-please
Open

robinnsc wants to merge 1 commit into
mainfrom
ci/release-please

Conversation

@robinnsc

@robinnsc robinnsc commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Release automation (#1395), PR 4 of 6. #1464 (PR title check), #1465 (signing in a called workflow) and #1466 (freeze-migrations) have merged. Stack: #1467 release-please ← #1468 rehearsal ← #1469 release-publish. Merge in that order. Its base is main.

What

Adds release.yml, which keeps one release PR open and up to date and, when that PR merges, creates the tag and a draft GitHub release. It publishes nothing (#1469 adds publishing). Merging this changes nothing by itself: every job is skipped until the repository variable RELEASE_APP_CLIENT_ID is set.

The release PR

On every push to main, release-please rebuilds one PR, chore(release): X.Y.Z, with CHANGELOG.md and the new version on the lines between x-release-please-start-version and x-release-please-end markers: the workspace version and the 13 pins in Cargo.toml, and three lines of sample output in the docs. It sets the version and the five pins in packaging/npm/package.json by JSON path.

  • Release type simple: the rust type's Cargo.toml updater throws on a virtual workspace manifest.
  • Every release is a minor release (always-bump-minor), because docs/versioning.md ships a change that makes ExtendDB answer as DynamoDB does in a minor release (or a patch release when it closes a security issue), and most fixes are such changes. A Release-As: X.Y.Z footer asks for a patch or major version.

Finishing the PR

  • The release-please job records the SHA of the release PR's branch right after release-please runs. Both later jobs work on that commit, not on the branch name, because anyone with write access can push to the branch, and every inline Python check runs with python3 -I, so it imports nothing from the checked-out tree.
  • prepare-release-pr refuses the commit unless it is one release-please commit on main that changes only the version lines and the changelog (compared byte for byte), in the manifest and the files that release-please-config.json on main lists, and refuses a version other than the next minor version after the highest release tag on main or a higher version that the message of a commit on main since that tag names in a Release-As: footer. A footer that a BEGIN_COMMIT_OVERRIDE block gains after the merge is therefore refused. devtools/release-tags holds the rule for a release version (no leading zeros) and finds the highest release tag on main. It then runs cargo update --workspace (only workspace entries may change), the license-notice generators for the four notice files and devtools/freeze-migrations. It holds no credential and hands its result on as a patch.
  • push-release-pr applies the patch and refuses anything but content changes to the ten files that .github/release-pr-files.txt lists, a list it reads from the commit before the patch applies. A file on the list with no content check below is refused. The generators and the freeze run build scripts, so it checks the content again: in Cargo.lock and the four license notices only the workspace version, in the migration files only the RELEASED_THROUGH line and Released entries appended to each table. It then pushes one commit with the App token, minted after the checks.

Merging the release PR creates the tag on the merge commit. A step fails the run if the tag already existed on another commit.

Docs

  • CONTRIBUTING.md: how release-please reads a PR description, in the item that ci: check that PR titles are conventional commit subjects #1464 adds.
  • docs/versioning.md and ROADMAP.md: the support policy changes to match the release PR. A fix ships in the next release from main, a minor release unless a Release-As: footer asks for a patch. A fix for an earlier minor release, including the 3 months of security fixes for the previous minor release, needs a release branch, which Release branches for patch releases of an earlier minor release #1550 tracks; until then it ships in the next release from main.
  • CONTRIBUTING.md and packaging/README.md: a change allowed only in a major release carries a Release-As: X+1.0.0 footer, and the README says when a patch release from main may be asked for.
  • packaging/README.md, "The release PR": the version rules, the upgrade-manual step, and the one-time setup. The by-hand release steps now include .release-please-manifest.json, Cargo.lock and the sample output.
  • .release-please-manifest.json starts at 1.1.0, the release cut by hand on 222d80a, so the first release PR proposes 1.2.0.

Why

Part of #1395. Today a release starts with a hand-written PR that bumps the version on every surface, regenerates Cargo.lock and the license notices, and freezes the catalog migrations. A PR opened with the default GITHUB_TOKEN starts no workflow, so release-please and the push use a GitHub App token.

Testing done

  • release-please 17.6.0 (the version release-please-action v5.0.0 bundles), in docker: with the manifest at 1.1.0 and v1.1.0 released, a run against this tree proposes chore(release): 1.2.0, and its own updaters change exactly the Cargo.toml, package.json and doc lines that the 1.1.0 hand bump changed. With this config, fix, feat and breaking commits all give the next minor version, Release-As overrides, hidden types alone open no PR, and an unchanged body still updates the PR.
  • A commit that adds a json.py next to a code change passes a check run as python3 -; with python3 -I the check refuses it.
  • Every run: block extracted verbatim and run against good and hostile inputs: branch shapes (human commits, merge commits, extra Cargo.toml changes, CR, NUL, U+2028), version and tag cases (annotated, lightweight, stray tags off main), patches (renames, copies, symlinks, mode changes, deletions, binary patches, swapped crate sources, code appended to registry.rs), and the real frozen and unfrozen migration files.
  • prepare-release-pr's steps run locally on release-please's output: only the 15 workspace lock entries move, the notices change only version lines (and the push-side check refuses any other notice change), the freeze works with cargo test --locked, and doc_version_literals passes.
  • The version step, extracted, on scratch histories with v1.1.0 and a newest commit with Release-As: 1.1.1: above no other commit, above 1.3 MB of older messages, above main's v1.0.0..v1.1.0 messages, and with a CR after the version. Each accepts 1.2.0 and 1.1.1 and refuses 2.0.0, 1.1.10, 1.1.0 and 1.0.5. A footer inside a BEGIN_COMMIT_OVERRIDE block of the commit message counts.
  • push-release-pr's two checks, extracted, on a copy of this tree: a workspace version in Cargo.lock and a version in a license notice pass; a change to an unlisted file, a new file, an edit of the list itself, a change to another Cargo.lock entry, a committed list with no entries, and a listed file with no content check are refused.
  • prepare-release-pr's branch-shape step, extracted, on a copy of this tree with a release-please-like commit: it passes; adding a change to an unlisted file, a config entry for that file in the same commit, or a non-version change to Cargo.toml is refused.
  • devtools/release-tags has unit tests (release_tags_test.py): the version shapes, numeric order, annotated and lightweight tags, a tag off the branch, and a missing ref.
  • actionlint and devtools/check-actions-pinned are clean.

Setup (admin)

  • When this merges: nothing. Every job is skipped until RELEASE_APP_CLIENT_ID is set, and releases are made by hand as before.
  • Once all of Automate the release process (tracking) #1395 is merged, in this order (packaging/README.md lists the whole sequence):
    1. A GitHub App with read and write access to contents, pull requests and issues, installed on this repository only, and the release-please environment (branch main, no reviewers) with its private key as RELEASE_APP_PRIVATE_KEY.
    2. A new tag ruleset, release-tag-creation, on refs/tags/v* with only the rule "Restrict creations" and the App as its only bypass actor. A bypass actor bypasses every rule of its ruleset, so protect-release-tags keeps no bypass actors.
    3. The release branch ruleset from ci(release): rehearse the release PR with the build workflows #1468.
    4. Last, RELEASE_APP_CLIENT_ID.

Checklist

  • I have read CONTRIBUTING.md
  • All tests pass (cargo test --workspace): not run; doc_version_literals passes with the markers
  • Code is formatted (cargo fmt --check): no Rust change
  • Clippy is clean (cargo clippy -- -W clippy::pedantic): no Rust change
  • I have added or updated tests for new functionality: no test file; every run: block was tested by extraction (Testing done)
  • I have updated documentation if behavior changed
  • Breaking changes are noted below (if any)
  • If this changes the wire protocol, Storage trait, auth model, on-disk
    format, or public CLI surface, an RFC has been accepted or is linked
    below. Otherwise, an ADR captures the decision (link below).

ADR / RFC: n/a: CI and release tooling only; the design is discussed in #1395

Breaking changes

None until the variable is set. After that, releases from main are minor releases unless a Release-As: footer says otherwise, so a fix for the newest minor release ships in the next minor release by default. Until release branches exist (#1550), the previous minor release gets no security release of its own; its fixes ship in the next release from main.


By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.

@robinnsc robinnsc self-assigned this Nov 25, 2026
robinnsc added a commit that referenced this pull request Nov 29, 2026
This adds a PR title check, the `conventional` job of the PR title
workflow, which fails when a PR title is not a conventional commit
subject. It changes nothing else. It relies on merge settings that the
admin applies when this merges (last paragraph).

The release automation tracked in #1395 will build the changelog from
the commit subjects on main. Most subjects on main have the
conventional shape, but nothing checks it; for example #596's
(b0d1c64) does not. In the 0.1.15 cycle two squash-merged PR titles
did not have it, and seven merge commits brought 24 more subjects to
main that do not have it.

devtools/check-pr-title accepts `type(scope)!: summary`, with the scope
and the `!` optional. The type is one of the eleven of commitlint's
config-conventional: build, chore, ci, docs, feat, fix, perf, refactor,
revert, style and test. A scope is lowercase letters, digits, `.`, `_`,
`/` and `-`. A refusal names the rule that failed: the shape, the type,
the scope or the space after the colon.

The PR title workflow runs it on opened, edited, reopened and
synchronize events. The title reaches the script through the
environment. The job checks out devtools/ (in cone mode, also the files
at the repository root) from the default branch, so a PR that edits the
checker is checked by main's version, and an older or stacked PR whose
base has no checker still gets main's. The workflow file itself runs
from the PR's merge ref, as every pull_request workflow does, so a
change to it is protected by review only. The job fails on this PR,
because main has no checker yet. A merge
queue run has no title, so the job is skipped there, which counts as
passing if the check is made required. CONTRIBUTING.md says how to
title a PR and a revert.

Settings to apply when this merges: allow squash merging only, in the
repository settings, the main ruleset's allowed merge methods and the
merge queue's merge method. Under "Allow squash merging", set the
default commit message to "Pull request title and description" (API:
squash_merge_commit_title PR_TITLE, squash_merge_commit_message
PR_BODY). A squash commit then takes the PR title as its subject and
the PR description as its message. With the current "Default message",
a single-commit PR's squash subject is the commit's subject, which this
check does not see. Then add `conventional` (GitHub Actions) to main's
required status checks. Merge this before the release-please change of
#1395 (#1467), which builds on its CONTRIBUTING.md text.

Signed-off-by: Scott Robinson <robinnsc@amazon.com>
@robinnsc
robinnsc force-pushed the ci/freeze-migrations branch from fd44cee to ad3f616 Compare November 29, 2026 01:33
@robinnsc
robinnsc force-pushed the ci/freeze-migrations branch from ad3f616 to a82b895 Compare November 30, 2026 21:56
@robinnsc
robinnsc marked this pull request as ready for review November 30, 2026 21:56
robinnsc added a commit that referenced this pull request Dec 1, 2026
This adds a PR title check, the `conventional` job of the PR title
workflow, which fails when a PR title is not a conventional commit
subject. It changes nothing else. It relies on merge settings that the
admin applies when this merges (last paragraph).

The release automation tracked in #1395 will build the changelog from
the commit subjects on main. Most subjects on main have the
conventional shape, but nothing checks it; for example #596's
(b0d1c64) does not. In the 0.1.15 cycle two squash-merged PR titles
did not have it, and seven merge commits brought 24 more subjects to
main that do not have it.

devtools/check-pr-title accepts `type(scope)!: summary`, with the scope
and the `!` optional. The type is one of the eleven of commitlint's
config-conventional: build, chore, ci, docs, feat, fix, perf, refactor,
revert, style and test. A scope is lowercase letters, digits, `.`, `_`,
`/` and `-`. A refusal names the rule that failed: the shape, the type,
the scope or the space after the colon.

The PR title workflow runs it on opened, edited, reopened and
synchronize events. The title reaches the script through the
environment. The job checks out devtools/ (in cone mode, also the files
at the repository root) from the default branch, so a PR that edits the
checker is checked by main's version, and an older or stacked PR whose
base has no checker still gets main's. The workflow file itself runs
from the PR's merge ref, as every pull_request workflow does, so a
change to it is protected by review only. Until main has a checker, on
this PR and the PRs stacked on it, the job uses the PR's own copy. A
merge queue run has no title, so the job is skipped there, which counts
as passing if the check is made required. CONTRIBUTING.md says how to
title a PR and a revert.

Settings to apply when this merges: allow squash merging only, in the
repository settings, the main ruleset's allowed merge methods and the
merge queue's merge method. Under "Allow squash merging", set the
default commit message to "Pull request title and description" (API:
squash_merge_commit_title PR_TITLE, squash_merge_commit_message
PR_BODY). A squash commit then takes the PR title as its subject and
the PR description as its message. With the current "Default message",
a single-commit PR's squash subject is the commit's subject, which this
check does not see. Then add `conventional` (GitHub Actions) to main's
required status checks. Merge this before the release-please change of
#1395 (#1467), which builds on its CONTRIBUTING.md text.

Signed-off-by: Scott Robinson <robinnsc@amazon.com>
@robinnsc
robinnsc force-pushed the ci/freeze-migrations branch from a82b895 to 85b663f Compare December 1, 2026 18:55
@robinnsc
robinnsc force-pushed the ci/freeze-migrations branch from 85b663f to 39288eb Compare December 2, 2026 06:56

@LeeroyHannigan LeeroyHannigan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I read the change against #1466's head 39288eb. cargo metadata --locked reads the same packages, versions and dependencies with and without the new markers. release-please-config.json and .release-please-manifest.json are valid JSON, and each file that the config names holds 1.1.0. actionlint reports only the extenddb_ubuntu-2404_4-core runner label, which ten workflows on main use too.

The workflow runs on push to main only, and no ${{ }} expression appears inside a run: block. The App token is minted only in the two jobs that need it. prepare-release-pr, which runs the build scripts, holds no credential. The first release PR will propose 1.2.0, as the new text of docs/versioning.md says.

Before I approve, the support policy change needs a decision of its own, because it narrows what users get. Today a fix for 1.1 ships in a 1.1.x patch, and a rollback from it needs only the earlier binary. With this change, the fix ships in 1.2.0, which can carry new configuration keys and a breaking catalog migration. Users of 1.0 also lose their three months of security fixes until release branches exist. The release workflows on main already refuse a tag that is not on main, so the old promise could not be kept either.

Points in the text:

  • docs/versioning.md:56 still says "The newest minor release gets bug fixes and security fixes", and ROADMAP.md:31 says "Patch releases ship as needed for bug fixes and security updates". Under line 54, the newest minor release gets no fix release of its own. Both lines need the new rule.
  • packaging/README.md:239 calls release branches "follow-up work to #1395", but #1395 says that they are out of scope there, and no issue tracks them. An issue, linked from the README and from docs/versioning.md, would track the open promise.
  • always-bump-minor gives a minor version to a ! commit. docs/versioning.md:9 allows the removal of a deprecated item only in a major release, but no text says when a Release-As: X+1.0.0 footer is required. One sentence in CONTRIBUTING.md and one in packaging/README.md would say it.
  • packaging/README.md:187 says how to ask for a patch release, but not when one is allowed. A patch from main carries everything merged since the last release. docs/versioning.md:11 bars a new configuration key or backup format version from a patch release, and freeze-migrations refuses only the breaking migration.
  • release.yml:274 accepts any version above the highest tag on main. As packaging/README.md:254-257 says, a Release-As: footer can come from a BEGIN_COMMIT_OVERRIDE block in a merged PR's description, and its author can edit that description after the merge. The step could accept only the next minor version, or a version that a commit message in git log v<highest>..origin/main names. The release PR's reviewer would then not be the only check on the version.

The red cassandra-pytest (1) job is a TLS handshake error in tests/test_put_item_create_race.py, a file that this stack does not change. That test builds its own client with one attempt and does not use call_with_handshake_retry. I started a re-run of the failed jobs.

I found no other open PR that adds release-please or changes the support policy.

@robinnsc

robinnsc commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author
  1. This PR now makes that decision and states it. docs/versioning.md "Support" says that a fix ships in the next release from main, a minor release unless a Release-As: footer asks for a patch, and that a fix for an earlier minor release, including the 3 months of security fixes for the previous minor release, waits for release branches (Release branches for patch releases of an earlier minor release #1550) and until then ships in the next release from main. docs/versioning.md:56 and ROADMAP.md:31 now say the same. The description's Breaking changes section names the narrowing for users of the previous minor release.
  2. packaging/README.md now links Release branches for patch releases of an earlier minor release #1550 instead of "follow-up work to Automate the release process (tracking) #1395", and so does docs/versioning.md.
  3. CONTRIBUTING.md and packaging/README.md now say that a change docs/versioning.md allows only in a major release, such as the removal of a deprecated item, carries a Release-As: X+1.0.0 footer.
  4. packaging/README.md now says when a patch release from main may be asked for: only when every commit since the last release is a change that docs/versioning.md allows in a patch release, so none adds an operation, a configuration key, a CLI flag, a breaking catalog migration or a backup format version, deprecates an item, raises the minimum Rust version, or changes a DynamoDB answer other than to fix a security issue. freeze-migrations refuses only the breaking migration; the release PR's reviewer checks the rest.
  5. prepare-release-pr now accepts only the next minor version, or a version that the message of a commit in v<highest>..origin/main names in a Release-As: footer. A footer that a BEGIN_COMMIT_OVERRIDE block gains after the merge is refused; one that the block held at merge time is in the squash commit's message and counts. The step was run on scratch histories with v1.1.0 and a newest commit whose footer is Release-As: 1.1.1: above no other commit, above 1.3 MB of older messages, above main's 50 commits from v1.0.0 to v1.1.0, and with a CR after the version. In each it accepts 1.2.0 and 1.1.1 and refuses 2.0.0, 1.1.10, 1.1.0 and 1.0.5. It reads the whole log before matching: piping git log into grep -q under pipefail refused the footer on the longer histories, because git log exited on SIGPIPE.

Base automatically changed from ci/freeze-migrations to main December 3, 2026 20:25
This adds release.yml, which keeps a release PR open and up to date
and, when that PR merges, creates the tag and a draft release (#1395).
It publishes nothing. Merging this changes nothing by itself: every job
is skipped until the repository variable RELEASE_APP_CLIENT_ID is set.
Merge it after the PR title check (ci/pr-title-check).

Today a release starts with a hand-written PR that bumps the version on
every surface, regenerates Cargo.lock and the license notices, and
freezes the catalog migrations. With this, every push to main makes
release-please rebuild one PR, `chore(release): X.Y.Z`, with
CHANGELOG.md and the new version in Cargo.toml (the workspace version
and the 13 pins), packaging/npm/package.json (the version and the five
pins) and three lines of sample output in the docs. The release type
is `simple`, because the `rust` type's Cargo.toml updater throws on a
virtual workspace manifest. Every release is a minor release
(`always-bump-minor`), because docs/versioning.md ships a change that
makes ExtendDB answer as DynamoDB does in a minor release (or a patch
release when it closes a security issue), and most fixes are such
changes. A `Release-As: X.Y.Z` footer asks for another version.

Two jobs then finish the PR. The release-please job records the SHA of
the release PR's branch, and both jobs work on that commit, not on the
branch name, because anyone with write access can push to the branch.
prepare-release-pr compares that commit with main byte for byte and
refuses it unless it is one release-please commit that changes only the
version lines and the changelog: the manifest and the files that
release-please-config.json on main lists, so adding a versioned file
needs only its config entry. Every inline Python check runs with
`python3 -I`, so it imports nothing from the checked-out tree. It also
refuses a version other than the next minor version after the highest
release tag on main or a higher version that a Release-As footer names.
devtools/release-tags holds the rule for a release version (no leading
zeros) and finds the highest release tag on main, so release-publish.yml
(#1469) can use the same rule. Then it runs `cargo update --workspace`
(only workspace entries may change), the license notice generators for
the four notice files and devtools/freeze-migrations. It holds no
credential and hands its result on as a patch. push-release-pr applies
the patch and refuses anything but content changes to the ten files that
.github/release-pr-files.txt lists, a list it reads from the commit
before the patch applies. The generators and the freeze run build
scripts, so it checks the content again with the standard library: in
Cargo.lock and the four license notices only the workspace version may
change, in the migration files only the RELEASED_THROUGH line and
Released entries appended to each table. It then pushes its commit with
the App token, minted after the checks. A PR opened with GITHUB_TOKEN
would start no workflow.

Merging the release PR creates the tag on the merge commit and a draft
release. With force-tag-creation, release-please reports a release on a
tag that already exists, so a step fails the run unless the tag's
commit is the merge commit.

The version must be the next minor version or one that a commit message
on main since the last release names in a Release-As footer, so a footer
that a BEGIN_COMMIT_OVERRIDE block gains after the merge is refused. The
check reads the whole log before grep: under pipefail, `grep -q` would
end the pipe early and git log would exit on SIGPIPE, refusing a footer
it found on any history over 64 KiB of messages.
CONTRIBUTING.md says how release-please reads a PR description, in the
item that the PR title check added, and that a change allowed only in a
major release carries a Release-As: X+1.0.0 footer. The support policy
in docs/versioning.md and ROADMAP.md changes to match: a fix ships in
the next release from main, a minor release unless a Release-As footer
asks for a patch. A fix for an earlier minor release, including the
3 months of security fixes for the previous minor release, needs a
release branch, which #1550 tracks; until then it ships in the next
release from main.
packaging/README.md also says when a patch release from main is allowed,
and describes the version rules, the upgrade manual step and the one-
time setup: squash-only merges with "Pull request title and description"
and the required checks as #1395 merges; then, once all of #1395 is
merged, the App, its environment, a new tag ruleset whose only rule
restricts the creation of v* tags to the App (protect-release-tags keeps
no bypass actors), and last the variable. Until then releases are made
by hand, as today. The by-hand steps now include .release-please-
manifest.json, Cargo.lock and the sample output.

.release-please-manifest.json starts at 1.1.0, the release cut by hand
on 222d80a, so the first release PR proposes 1.2.0.

Signed-off-by: Scott Robinson <robinnsc@amazon.com>
@robinnsc

robinnsc commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Changes in c9d56f6, rebased onto main after #1466 merged:

  1. prepare-release-pr no longer keeps its own list of the files release-please may change. It reads them from release-please-config.json as main has it (HEAD^): the manifest, the extra-files paths and changelog-path. So a new versioned file needs only its config entry, and a release-please commit that adds a file to the config in the same commit is still refused. packaging/README.md says so. release-pr.yml in ci(release): rehearse the release PR with the build workflows #1468 reads the same config.

parsnips pushed a commit to parsnips/extenddb that referenced this pull request Dec 4, 2026
)

This adds a PR title check, the `conventional` job of the PR title
workflow, which fails when a PR title is not a conventional commit
subject. It changes nothing else. It relies on merge settings that the
admin applies when this merges (last paragraph).

The release automation tracked in ExtendDB#1395 will build the changelog from
the commit subjects on main. Most subjects on main have the
conventional shape, but nothing checks it; for example ExtendDB#596's
(b0d1c64) does not. In the 0.1.15 cycle two squash-merged PR titles
did not have it, and seven merge commits brought 24 more subjects to
main that do not have it.

devtools/check-pr-title accepts `type(scope)!: summary`, with the scope
and the `!` optional. The type is one of the eleven of commitlint's
config-conventional: build, chore, ci, docs, feat, fix, perf, refactor,
revert, style and test. A scope is lowercase letters, digits, `.`, `_`,
`/` and `-`. A refusal names the rule that failed: the shape, the type,
the scope or the space after the colon.

The PR title workflow runs it on opened, edited, reopened and
synchronize events. The title reaches the script through the
environment. The job checks out devtools/ (in cone mode, also the files
at the repository root) from the default branch, so a PR that edits the
checker is checked by main's version, and an older or stacked PR whose
base has no checker still gets main's. The workflow file itself runs
from the PR's merge ref, as every pull_request workflow does, so a
change to it is protected by review only. Until main has a checker, on
this PR and the PRs stacked on it, the job uses the PR's own copy. A
merge queue run has no title, so the job is skipped there, which counts
as passing if the check is made required. CONTRIBUTING.md says how to
title a PR and a revert.

Settings to apply when this merges: allow squash merging only, in the
repository settings, the main ruleset's allowed merge methods and the
merge queue's merge method. Under "Allow squash merging", set the
default commit message to "Pull request title and description" (API:
squash_merge_commit_title PR_TITLE, squash_merge_commit_message
PR_BODY). A squash commit then takes the PR title as its subject and
the PR description as its message. With the current "Default message",
a single-commit PR's squash subject is the commit's subject, which this
check does not see. Then add `conventional` (GitHub Actions) to main's
required status checks. Merge this before the release-please change of
ExtendDB#1395 (ExtendDB#1467), which builds on its CONTRIBUTING.md text.

Signed-off-by: Scott Robinson <robinnsc@amazon.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants