Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update changesets' auto-commit feature to not suppress CI on commits #2052

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

jeremywiebe
Copy link
Collaborator

@jeremywiebe jeremywiebe commented Dec 20, 2024

Summary:

I recently updated our Changesets config to auto-commit the .md file when using yarn changset to describe a set of changes. This broke our releases as the default behaviour is that Changesets adds [skip ci] to the commit created when running yarn changesets version. No CI on that PR/commit, meant that none of our release Github Actions ran!

So this PR fixes the config so that Changesets no longer adds [skip ci] to any commits, but still auto-commits them.

Similar PRs

Issue: "none"

Test plan:

Land this PR
Merge main into an open Version Packages PR
Land that PR and ensure the release goes out

Copy link
Contributor

npm Snapshot: NOT Published

Oh noes!! We couldn't find any changesets in this PR (bc4c464). As a result, we did not
publish an npm snapshot for you.

Copy link
Contributor

Size Change: 0 B

Total Size: 1.27 MB

ℹ️ View Unchanged
Filename Size
packages/kas/dist/es/index.js 39 kB
packages/keypad-context/dist/es/index.js 760 B
packages/kmath/dist/es/index.js 4.27 kB
packages/math-input/dist/es/index.js 78 kB
packages/math-input/dist/es/strings.js 1.79 kB
packages/perseus-core/dist/es/index.js 1.48 kB
packages/perseus-editor/dist/es/index.js 688 kB
packages/perseus-linter/dist/es/index.js 22.2 kB
packages/perseus/dist/es/index.js 417 kB
packages/perseus/dist/es/strings.js 4.93 kB
packages/pure-markdown/dist/es/index.js 3.67 kB
packages/simple-markdown/dist/es/index.js 12.5 kB

compressed-size-action

Copy link
Member

@catandthemachines catandthemachines left a comment

Choose a reason for hiding this comment

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

Thank you for finding this!

@jeremywiebe jeremywiebe merged commit 00ec1f1 into main Dec 20, 2024
8 of 13 checks passed
@jeremywiebe jeremywiebe deleted the jer/changeset-auto-commit-with-ci branch December 20, 2024 18:53
jeremywiebe added a commit to Khan/wonder-stuff that referenced this pull request Dec 20, 2024
…1100)

## Summary:

I recently updated our Changesets config to auto-commit the `.md` file when using `yarn changset` to describe a set of changes. This broke our releases as the default behaviour is that Changesets adds `[skip ci]` to the commit created when running `yarn changesets version`. No CI on that PR/commit, meant that none of our release Github Actions ran!

So this PR fixes the config so that Changesets no longer adds `[skip ci]` to any commits, but still auto-commits them. 

### Similar PRs

  * Wonder-Blocks: Khan/wonder-blocks#2409
  * Wonder-Stuff: #1100 (this PR!)
  * Perseus: Khan/perseus#2052

Issue: "none"

## Test plan:

Land this PR
Merge `main` into an open Version Packages PR
Land that PR and ensure the release goes out

Author: jeremywiebe

Reviewers: jandrade, somewhatabstract

Required Reviewers:

Approved By: jandrade

Checks: ✅ Test (macos-latest, 20.x), ✅ codecov/project, ✅ CodeQL, ✅ Lint, typecheck, and coverage check (ubuntu-latest, 20.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x), ✅ Analyze (javascript), ✅ gerald, ⏭️  dependabot

Pull Request URL: #1100
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.

3 participants