-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from Nek0-hinata/feature/add-conventional-chan…
…gelog feat: add conventional changelog
- Loading branch information
Showing
7 changed files
with
862 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Bump | ||
on: | ||
push: | ||
# Use push on master event to run workflow instead of pull_request | ||
# closed (merged) event because github token doesn't have write permission | ||
# for pull_request from fork repository. | ||
branches: | ||
- main | ||
tags: | ||
- 'v*.*.*' | ||
pull_request: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
lint: | ||
uses: ./.github/workflows/lint.yml | ||
|
||
release: | ||
if: github.event.action != 'labeled' | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Bump version on merging Pull Requests with specific labels. | ||
# (bump:major,bump:minor,bump:patch) | ||
- id: bumpr | ||
if: "!startsWith(github.ref, 'refs/tags/')" | ||
uses: haya14busa/action-bumpr@v1 | ||
|
||
# Update corresponding major and minor tag. | ||
# e.g. Update v1 and v1.2 when releasing v1.2.3 | ||
- uses: haya14busa/action-update-semver@v1 | ||
if: '!steps.bumpr.outputs.skip' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.bumpr.outputs.next_version }} | ||
|
||
release-check: | ||
if: github.event.action == 'labeled' | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Post bumpr status comment | ||
uses: haya14busa/action-bumpr@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 0.0.0 (2023-11-23) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* change renovate base branches ([d839d81](https://github.com/Nek0-hinata/knowledgeGraph/commit/d839d811147c7faf8f2ba41d66caa72c14b2e537)) | ||
* **deps:** pin dependencies ([766a368](https://github.com/Nek0-hinata/knowledgeGraph/commit/766a368a06358f01cc45805df4935eb9fc269f50)) | ||
|
||
|
||
### Features | ||
|
||
* add `renovate.json` file ([08c7cce](https://github.com/Nek0-hinata/knowledgeGraph/commit/08c7cced6fb4ad49702442c6c697e12ec82f3ac0)) | ||
* add ci to auto lint when code push ([051521d](https://github.com/Nek0-hinata/knowledgeGraph/commit/051521d316d4aac3c68f0b269c3907e7b4b66f3d)) | ||
* add deploy workflows ([1d7add6](https://github.com/Nek0-hinata/knowledgeGraph/commit/1d7add6886e4736aeab518528fb8e9358f2a55a8)) | ||
* add husky and commitlint ([0144322](https://github.com/Nek0-hinata/knowledgeGraph/commit/01443227310aad425acc44b5813319d9ed2473f4)) | ||
* add prettier and eslint script ([a620ab2](https://github.com/Nek0-hinata/knowledgeGraph/commit/a620ab209fe031ed76ee507053232a8bad3eb7d9)) | ||
* adjust husky lint time ([35ff57a](https://github.com/Nek0-hinata/knowledgeGraph/commit/35ff57a6ba36372876691265a824e8e8f0eed6e3)) | ||
* enforce pnpm package manager ([7065601](https://github.com/Nek0-hinata/knowledgeGraph/commit/706560116f5a8af4387b6da6dea4eb0849f8a61c)) | ||
* init ([3b94e8b](https://github.com/Nek0-hinata/knowledgeGraph/commit/3b94e8b0c00d8f598669f4d9f96b24a5a20213e1)) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.