mirror of
https://github.com/orhun/git-cliff.git
synced 2024-10-05 19:27:27 +03:00
feat(ci): add 'typos' check (#317)
* docs(docker): fix typos * docs(readme): fix typos * docs(template): fix typos * ci(typos): add 'typos' check resolves #311 * ci(typos): 'typos' moved to its own job --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
edd3c30000
commit
88c34abe2c
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -30,6 +30,15 @@ jobs:
|
|||||||
command: check
|
command: check
|
||||||
args: --locked --no-default-features --verbose
|
args: --locked --no-default-features --verbose
|
||||||
|
|
||||||
|
typos:
|
||||||
|
name: Typos
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Check typos
|
||||||
|
uses: crate-ci/typos@master
|
||||||
|
|
||||||
test:
|
test:
|
||||||
name: Test suite
|
name: Test suite
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@ -27,7 +27,7 @@ WORKDIR app
|
|||||||
|
|
||||||
# Even if the repository as marked as safe, GitHub Actions and some other
|
# Even if the repository as marked as safe, GitHub Actions and some other
|
||||||
# environments insist on running the entrypoint as root inside the container
|
# environments insist on running the entrypoint as root inside the container
|
||||||
# even when being run by a non priviledged user on their own files. Here we
|
# even when being run by a non privileged user on their own files. Here we
|
||||||
# check the ownership of the workdir (which may or may not be /app) and change
|
# check the ownership of the workdir (which may or may not be /app) and change
|
||||||
# our effective user/group ID to match.
|
# our effective user/group ID to match.
|
||||||
RUN cat <<'EOF' > /usr/local/bin/entrypoint.sh
|
RUN cat <<'EOF' > /usr/local/bin/entrypoint.sh
|
||||||
|
@ -57,7 +57,7 @@ Learn how to use **git-cliff** from the [documentation](https://git-cliff.org/do
|
|||||||
|
|
||||||
## Editor Support
|
## Editor Support
|
||||||
|
|
||||||
- [git-cliff.el](https://github.com/liuyinz/git-cliff.el) - Genarate, update and release changelog in Emacs
|
- [git-cliff.el](https://github.com/liuyinz/git-cliff.el) - Generate, update and release changelog in Emacs
|
||||||
|
|
||||||
## Similar/Related Projects
|
## Similar/Related Projects
|
||||||
|
|
||||||
|
5
typos.toml
Normal file
5
typos.toml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[type.md]
|
||||||
|
extend-ignore-re = [
|
||||||
|
"\\[[[:xdigit:]]{7}\\]\\(https://github.com/orhun/git-cliff/commit/[[:xdigit:]]{40}\\)",
|
||||||
|
"\\[halp\\]\\(https://github.com/orhun/halp\\)",
|
||||||
|
]
|
@ -27,7 +27,7 @@ following context is generated to use for templating:
|
|||||||
"commits": [
|
"commits": [
|
||||||
{
|
{
|
||||||
"id": "e795460c9bb7275294d1fa53a9d73258fb51eb10",
|
"id": "e795460c9bb7275294d1fa53a9d73258fb51eb10",
|
||||||
"group": "<type> (overrided by commit_parsers)",
|
"group": "<type> (overridden by commit_parsers)",
|
||||||
"scope": "[scope]",
|
"scope": "[scope]",
|
||||||
"message": "<description>",
|
"message": "<description>",
|
||||||
"body": "[body]",
|
"body": "[body]",
|
||||||
@ -124,8 +124,8 @@ If [`conventional_commits`](/docs/configuration#conventional_commits) is set to
|
|||||||
"commits": [
|
"commits": [
|
||||||
{
|
{
|
||||||
"id": "e795460c9bb7275294d1fa53a9d73258fb51eb10",
|
"id": "e795460c9bb7275294d1fa53a9d73258fb51eb10",
|
||||||
"group": "(overrided by commit_parsers)",
|
"group": "(overridden by commit_parsers)",
|
||||||
"scope": "(overrided by commit_parsers)",
|
"scope": "(overridden by commit_parsers)",
|
||||||
"message": "(full commit message including description, footers, etc.)",
|
"message": "(full commit message including description, footers, etc.)",
|
||||||
"conventional": false,
|
"conventional": false,
|
||||||
"links": [
|
"links": [
|
||||||
|
Loading…
Reference in New Issue
Block a user