Skip to content

Commit 023d00f

Browse files
Merge pull request #107 from MonolithProjects/develop
Minor changes
2 parents 3e4f07a + 6ca7b17 commit 023d00f

File tree

5 files changed

+27
-13
lines changed

5 files changed

+27
-13
lines changed

.github/CONTRIBUTING.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ When you see some issue or have an idea for improvement, [create an issue](https
1515

1616
Click on `fork` on the top-right corner and fork the repository.
1717

18-
## 3. Make the changes
18+
## 3. Install pre-commit
1919

20-
Do dthe changes in your own GitHub namespace.
20+
Install [Pre-commit](https://pre-commit.com/#install) software
21+
## 4. Make the changes
2122

22-
## 4. Test the changes
23+
Do the changes in your own GitHub namespace.
24+
25+
## 5. Test the changes
2326

2427
**Note:** I will test the role again, so you don't need to do that if you don't want to.
2528

@@ -33,8 +36,8 @@ molecule test
3336

3437
> You will need to edit the files in `molecule/default` directory (please do not commit those changes)
3538
36-
## 5. Create a pull request
39+
## 6. Create a pull request
3740

3841
Please create a pull request into the `develop` branch. Here is [how to do it](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork).
3942

40-
Please consider to [sponsor](https://github.com/sponsors/monolithprojects) me :-)
43+
Please consider to [sponsor](https://github.com/sponsors/monolithprojects) me :-)

.github/PULL_REQUEST_TEMPLATE.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1-
# Pull Request Template
2-
3-
## Description
1+
# Description
42

53
Please include a summary of the change and which issue is fixed.
64

75
## Type of change
86

9-
Please delete options that are not relevant.
10-
117
- [ ] Bug fix (non-breaking change which fixes an issue)
128
- [ ] New feature (non-breaking change which adds functionality)
139
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
1410
- [ ] This change requires a documentation update
11+
- [ ] Minor change (pipeline, tests, spelling ...)
1512

1613
## How Has This Been Tested?
1714

1815
Please describe the tests that you ran to verify your changes.
1916

2017
## Destination branch
2118

22-
Create a PR into `develop` branch
19+
Create a PR into `develop` branch

.pre-commit-config.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,17 @@ repos:
66
args: [--allow-multiple-documents]
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
9+
10+
- repo: https://github.com/adrienverge/yamllint
11+
rev: v1.26.3
12+
hooks:
13+
- id: yamllint
14+
args: [-c=.yamllint]
15+
16+
- repo: https://github.com/robertdebock/pre-commit
17+
rev: v1.2.3
18+
hooks:
19+
- id: ansible_role_find_unused_variable
20+
- id: ansible_role_find_empty_files
21+
- id: ansible_role_find_empty_directories
22+
- id: ansible_role_fix_readability

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runner_name: "{{ ansible_hostname }}"
9696
# Will the runner be deployed on Github Enterprise server?
9797
runner_on_ghes: no
9898

99-
# Custom service name when usign Github Enterprise server
99+
# Custom service name when using Github Enterprise server
100100
# DEPRECATED: this variable is deprecated in favor of "runner_on_ghes" and will be removed in release 1.15.
101101
# service_name: actions.runner._services.{{ runner_name }}.service
102102

defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runner_name: "{{ ansible_hostname }}"
4747
# Will the runner be deployed on Github Enterprise server?
4848
runner_on_ghes: no
4949

50-
# Custom service name when usign Github Enterprise server
50+
# Custom service name when using Github Enterprise server
5151
# DEPRECATED: this variable is deprecated in favor of "runner_on_ghes" and will be removed in release 1.15.
5252
# service_name: actions.runner._services.{{ runner_name }}.service
5353

0 commit comments

Comments
 (0)