Skip to content

Commit 824d470

Browse files
committed
style(focs): fix style warn by mdlint
1 parent 1e74d28 commit 824d470

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

docs/bump.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ tag_format = "v$minor.$major.$patch$prerelease"
101101

102102
Or in your `.cz` (TO BE DEPRECATED)
103103

104-
```
104+
```ini
105105
[commitizen]
106106
tag_format = v$minor.$major.$patch$prerelease
107107
```
@@ -142,7 +142,7 @@ files = [
142142

143143
`.cz` (TO BE DEPRECATED)
144144

145-
```
145+
```ini
146146
[commitizen]
147147
files = [
148148
"src/__version__.py",
@@ -178,7 +178,7 @@ bump_message = "release $current_version → $new_version [skip-ci]"
178178

179179
`.cz` (TO BE DEPRECATED)
180180

181-
```
181+
```ini
182182
[commitizen]
183183
bump_message = release $current_version → $new_version [skip-ci]
184184
```

docs/check.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ This an example showing how to use the check command inside of commit-msg.
1111
At the root of the project:
1212

1313
```sh
14-
$ cd .git/hooks
15-
$ touch commit-msg
16-
$ chmod +x commit-msg
14+
cd .git/hooks
15+
touch commit-msg
16+
chmod +x commit-msg
1717
```
1818

1919
Open the file and edit it:

docs/tutorials/github_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ jobs:
9696
Notice that we are calling a bash script in `./scripts/publish`, you should
9797
configure it with your tools (twine, poetry, etc). Check [commitizen example](https://github.com/Woile/commitizen/blob/master/scripts/publish)
9898

99-
Push the changes and that's it.
99+
Push the changes and that's it.

docs/tutorials/gitlab_ci.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ For this example, we have a `python/django` application and `Docker` as containe
1515
#### Gitlab Configuration:
1616

1717
In order to be able to change files and push new changes with `Gitlab CI` runners, we need to have a `ssh` key and configure a git user.
18-
18+
1919
First, let's create a `ssh key`. The only requirement is to create it without a passphrase:
2020

21-
```
21+
```bash
2222
ssh-keygen -f deploy_key -N ""
2323
```
2424

@@ -32,7 +32,7 @@ Now, we need to create three environment variables that will be visible for the
3232

3333
Create `SSH_PRIVATE_KEY`, `CI_EMAIL`, `CI_USERNAME` variables and fill them with the `private_key`, `email` and `username` that we have created previously.
3434

35-
The latest step is to create a `deploy key.` To do this, we should create it under the section `settings/repository` and fill it with the `public key` generated before. Check `Write access allowed`, otherwise, the runner won't be able to write the changes to the repository.
35+
The latest step is to create a `deploy key.` To do this, we should create it under the section `settings/repository` and fill it with the `public key` generated before. Check `Write access allowed`, otherwise, the runner won't be able to write the changes to the repository.
3636

3737
![gitlab deploy key](../images/gitlab_ci/gitlab_deploy_key.png)
3838

@@ -45,9 +45,8 @@ tip: If the CI raise some errors, try to unprotect the private key.
4545
1. Create a `.gitlab-ci.yaml` file that contains `stages` and `jobs` configurations. You can find more info [here](https://docs.gitlab.com/ee/ci/quick_start/).
4646

4747
2. Define `stages` and `jobs`. For this example, we define two `stages` with one `job` each one.
48-
* Test the application.
49-
* Auto bump the version. Means changing the file/s that reflects the version, creating a new commit and git tag.
50-
48+
* Test the application.
49+
* Auto bump the version. Means changing the file/s that reflects the version, creating a new commit and git tag.
5150

5251
#### Stages and Jobs
5352

@@ -96,7 +95,7 @@ auto-bump:
9695
- git push origin master:$CI_COMMIT_REF_NAME
9796
- TAG=$(head -n 1 VERSION) # get the new software version and save into artifacts
9897
- echo "#!/bin/sh" >> variables
99-
- echo "export TAG='$TAG'" >> variables
98+
- echo "export TAG='$TAG'" >> variables
10099
- git push origin $TAG
101100
only:
102101
refs:

0 commit comments

Comments
 (0)