-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
80 additions
and
0 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,20 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*{.yml,.yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.json] | ||
indent_style = space | ||
indent_size = 4 |
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,3 @@ | ||
/.github export-ignore | ||
.editorconfig export-ignore | ||
.gitignore export-ignore |
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,57 @@ | ||
--- | ||
|
||
# https://github.com/google-github-actions/release-please-action#release-types-supported | ||
|
||
on: # yamllint disable-line rule:truthy | ||
workflow_call: | ||
inputs: | ||
os: | ||
description: The operating system to run the workflow on | ||
required: true | ||
type: string | ||
default: ubuntu-latest | ||
branch: | ||
description: The branch to use when creating the release | ||
required: true | ||
type: string | ||
default: master | ||
package-name: | ||
description: The name of the package to release | ||
required: true | ||
type: string | ||
token: | ||
description: The GitHub token to use when creating the release | ||
required: true | ||
type: string | ||
|
||
name: 📦 Create release | ||
|
||
jobs: | ||
release: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- name: 🎉 Create release | ||
uses: google-github-actions/release-please-action@v3 | ||
id: release | ||
with: | ||
token: ${{ inputs.token }} | ||
release-type: node | ||
package-name: ${{ inputs.package-name }} | ||
default-branch: ${{ inputs.branch }} | ||
changelog-types: | | ||
[ | ||
{ "type": "feat", "section": "Features", "hidden": false }, | ||
{ "type": "fix", "section": "Bug Fixes", "hidden": false }, | ||
{ "type": "perf", "section": "Performance Improvements", "hidden": false }, | ||
{ "type": "docs", "section": "Documentation", "hidden": false }, | ||
{ "type": "chore", "section": "Miscellaneous", "hidden": false }, | ||
{ "type": "style", "section": "Styles", "hidden": true }, | ||
{ "type": "revert", "section": "Reverts", "hidden": true }, | ||
{ "type": "deps", "section": "Dependencies", "hidden": true }, | ||
{ "type": "refactor", "section": "Code Refactoring", "hidden": true }, | ||
{ "type": "test", "section": "Tests", "hidden": true }, | ||
{ "type": "build", "section": "Build System", "hidden": true }, | ||
{ "type": "ci", "section": "Continuous Integration", "hidden": true } | ||
] | ||
... |