No contributors.
This commit is contained in:
parent
81538f0050
commit
b00862b7bd
|
|
@ -1,21 +1,22 @@
|
|||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.4.0
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-added-large-files
|
||||
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.26.0
|
||||
rev: v1.26.3
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args: [-c=.yamllint]
|
||||
|
||||
- repo: https://github.com/robertdebock/pre-commit
|
||||
rev: v1.2.2
|
||||
rev: v1.2.3
|
||||
hooks:
|
||||
- id: ansible_role_find_unused_variable
|
||||
- id: ansible_role_find_empty_files
|
||||
- id: ansible_role_find_empty_directories
|
||||
- id: ansible_role_fix_readability
|
||||
|
|
|
|||
|
|
@ -119,12 +119,6 @@
|
|||
changed_when: no
|
||||
failed_when: no
|
||||
|
||||
- name: load github contributors
|
||||
uri:
|
||||
url: "https://api.github.com/repos/robertdebock/ansible-role-{{ role_name }}/contributors"
|
||||
register: github_contributors
|
||||
failed_when: no
|
||||
|
||||
- name: create .github directories
|
||||
file:
|
||||
path: "{{ role_path }}/{{ item }}"
|
||||
|
|
|
|||
|
|
@ -102,22 +102,6 @@ If you find issues, please register them in [GitHub](https://github.com/{{ githu
|
|||
|
||||
{{ meta.galaxy_info.license }}
|
||||
|
||||
{% if github_contributors is defined %}
|
||||
{% if github_contributors.json is defined %}
|
||||
{% if github_contributors.json | length > 1 %}
|
||||
## [Contributors](#contributors)
|
||||
|
||||
I'd like to thank everybody that made contributions to this repository. It motivates me, improves the code and is just fun to collaborate.
|
||||
|
||||
{% for contributor in github_contributors.json %}{% if contributor.login is defined %}{% if contributor.login != "robertdebock" %}
|
||||
- [{{ contributor.login }}](https://github.com/{{ contributor.login }})
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
## [Author Information](#author-information)
|
||||
|
||||
[{{ meta.galaxy_info.author }}]({{ author_website }})
|
||||
|
|
|
|||
Loading…
Reference in New Issue