Skip to content

Commit 84a616f

Browse files
committed
style(focs): fix style warn by mdlint
1 parent 0e3a808 commit 84a616f

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
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
```
@@ -144,7 +144,7 @@ version_files = [
144144

145145
`.cz` (TO BE DEPRECATED)
146146

147-
```
147+
```ini
148148
[commitizen]
149149
version_files = [
150150
"src/__version__.py",
@@ -180,7 +180,7 @@ bump_message = "release $current_version → $new_version [skip-ci]"
180180

181181
`.cz` (TO BE DEPRECATED)
182182

183-
```
183+
```ini
184184
[commitizen]
185185
bump_message = release $current_version → $new_version [skip-ci]
186186
```

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)