-
Notifications
You must be signed in to change notification settings - Fork 219
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
Enabling custom commit message templates #10
Comments
For most use-cases, I recommend having the (one of our goals is to have no ownership of how you git, so you can git however you think is best) I'm probably not going to have immediate time to jump on this btw, but will add some labels. |
This can be closed I think, it works now: Example: - name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@master
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm run release
commit: "chore: release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This action can't be used in conjunction with varying commit linting configurations, as there's no way to customize the template from which the commit message is generated. I'm trying to use
commitlint
with a conventional commits config. I see that the action is writing the following commit messages...when commiting for the sake of PR generation:
CHANGESET: thick-mayflies-learn...
when commiting version bumps:
Version Packages
This causes any commit-linting CI to fail with something along the following lines:
Side node: the placeholders (
thick-mayflies-learn...
) are awesome. Very tasteful.The text was updated successfully, but these errors were encountered: