diff --git a/.github/workflows/release.yml b/.github/workflows/publish.yml similarity index 99% rename from .github/workflows/release.yml rename to .github/workflows/publish.yml index 0bceebd9..02b92068 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Release +name: Publish # This workflow drives releases with Changesets. # @@ -24,7 +24,7 @@ concurrency: cancel-in-progress: false jobs: - release: + publish: runs-on: ubuntu-latest # Never attempt to publish from forks (no trusted-publisher match / secrets). if: github.repository == 'nodejs/doc-kit' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb0202aa..14bf16e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -338,7 +338,7 @@ git commit -m "describe your changes" --no-verify Releases are automated with [Changesets][] and require no manual version bumps — maintainers never edit the `version` field in `package.json` by hand. -When changesets land on `main`, the [`Release` workflow](.github/workflows/release.yml) opens (or +When changesets land on `main`, the [`Publish` workflow](.github/workflows/publish.yml) opens (or updates) a **"Version Packages"** Pull Request that consumes the pending changeset files, bumps the version in `package.json`, and writes the corresponding `CHANGELOG.md` entries.