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

HL-930: Release Please docs and git hook & CI modifications #2242

Merged
merged 3 commits into from
Sep 7, 2023
Merged

Conversation

mjturt
Copy link
Contributor

@mjturt mjturt commented Sep 1, 2023

Description ✨

  • Add Release Please documentation in readme
  • Modify Git hooks documentation in readme
  • Run also lerna & husky & lint-staged git hooks with pre-commit. Pre-commit is now the preferred git hook system.
  • Add git hook to validate commit messages
  • Add GitHub action to validate commit messages

* Pull request title should include Jira handle (for Jira integration to work)
* Release Please figures out how much to increase the version number based on commit messages. Look [SemVer](https://semver.org/) and [Release Please docs](https://github.com/googleapis/release-please#how-should-i-write-my-commits).

### Example workflow
Copy link
Contributor Author

@mjturt mjturt Sep 1, 2023

Choose a reason for hiding this comment

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

What do you think, is this kind of workflow something that could work for us?

branches: [main]
pull_request:
paths:
- '.github/workflows/conventional-commits.yml'
Copy link
Contributor

Choose a reason for hiding this comment

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

tarkoitus on varmaan ajaa tämä workflow aina kun pr:aan lisätään commit? Tämä taitaa nyt ajaa vain jos tulee muutos tähän filuun?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Meidän muissa workfloweissa on tuota viljelty, mutta nyt kun manuskaa tarkemmin katsoo niin eipä siinä kovin järkeä näytä olevan.

.github/workflows/conventional-commits.yml Show resolved Hide resolved
@mjturt mjturt merged commit 4184e0b into main Sep 7, 2023
7 checks passed
@mjturt mjturt deleted the hl-930 branch September 7, 2023 10:48
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