Skip to content

Add documentation for automating changesets when versioning apps#1905

Open
ThisIsMissEm wants to merge 1 commit intochangesets:mainfrom
ThisIsMissEm:patch-1
Open

Add documentation for automating changesets when versioning apps#1905
ThisIsMissEm wants to merge 1 commit intochangesets:mainfrom
ThisIsMissEm:patch-1

Conversation

@ThisIsMissEm
Copy link
Copy Markdown

(or for non-npm projects)

I just used changesets for versioning a swift package, with the GitHub Action and the GitHub changelog setup, and I was stuck for a moment where the release pull request would be created, but merging it would result in the following log output:

Run changesets/action@v1
setting git user
/usr/bin/git config user.name "github-actions[bot]"
/usr/bin/git config user.email "<omitted>"
setting GitHub credentials
No changesets found. Attempting to publish any unpublished packages to npm
No NPM_TOKEN found, but OIDC is available - using npm trusted publishing

And then no github release was actually created.

This was because I didn't supply the publish option to the GitHub Action, which needs to invoke changeset publish, because I was like "I don't have a publish command for swift, since there's no package registry", so I'd both omitted it initially, and then set publish: /usr/bin/true and both didn't have the expected results.

You can see the final configuration I'm using for publishing releases of swift packages here: https://github.com/germ-network/oauth4swift

…non-npm projects)

I just used changesets for versioning a swift package, with the GitHub Action and the GitHub changelog setup, and I was stuck for a moment where the release pull request would be created, but merging it would result in the log output:

```
Run changesets/action@v1
setting git user
/usr/bin/git config user.name "github-actions[bot]"
/usr/bin/git config user.email "<omitted>"
setting GitHub credentials
No changesets found. Attempting to publish any unpublished packages to npm
No NPM_TOKEN found, but OIDC is available - using npm trusted publishing
```

And then no github release was actually created. This was because I didn't supply the `publish` option to the GitHub Action, which needs to invoke `changeset publish`

You can see the final configuration I'm using for publishing releases of swift packages here: https://github.com/germ-network/oauth4swift
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 27, 2026

⚠️ No Changeset found

Latest commit: c19efe7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.24%. Comparing base (96ca062) to head (c19efe7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1905   +/-   ##
=======================================
  Coverage   84.24%   84.24%           
=======================================
  Files          56       56           
  Lines        2419     2419           
  Branches      729      728    -1     
=======================================
  Hits         2038     2038           
  Misses        375      375           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ThisIsMissEm
Copy link
Copy Markdown
Author

I'm not sure if this documentation change needs a changeset or not in this project?

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.

1 participant