diff --git a/files/pre-commit-config.yaml b/files/pre-commit-config.yaml index af7ef32..ea7ef8c 100644 --- a/files/pre-commit-config.yaml +++ b/files/pre-commit-config.yaml @@ -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 diff --git a/generate.yml b/generate.yml index 617b3ae..64fee46 100755 --- a/generate.yml +++ b/generate.yml @@ -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 }}" diff --git a/templates/README.md.j2 b/templates/README.md.j2 index 8274ab6..bb6fc7e 100644 --- a/templates/README.md.j2 +++ b/templates/README.md.j2 @@ -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 }})