diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..48728ca --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +--- +# +# Ansible managed +# + +# Set update schedule for GitHub Actions + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every weekday + interval: "daily" + assignees: + - "mullholland" diff --git a/files/pre-commit-config.yaml b/files/pre-commit-config.yaml index 7beec98..88778a2 100644 --- a/files/pre-commit-config.yaml +++ b/files/pre-commit-config.yaml @@ -22,3 +22,11 @@ repos: - id: ansible_role_find_undefined_handlers - id: ansible_role_find_unquoted_values - id: ansible_role_find_horizontal_when + + - repo: https://github.com/ansible-community/ansible-lint.git + rev: v6.17.0 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/ + hooks: + - id: ansible-lint + files: \.(yaml|yml)$ + verbose: true + args: ["-p", "./"] diff --git a/templates/gitlab-ci.yml.j2 b/templates/gitlab-ci.yml.j2 index f2df6f9..b5ee940 100644 --- a/templates/gitlab-ci.yml.j2 +++ b/templates/gitlab-ci.yml.j2 @@ -21,8 +21,8 @@ molecule: {% endfor %} {% endfor %} -galaxy: - script: - - ansible-galaxy role import --api-key ${GALAXY_API_KEY} {{ galaxy_namespace }} ${CI_PROJECT_NAME} - rules: - - if: $CI_COMMIT_TAG != null +# galaxy: +# script: +# - ansible-galaxy role import --api-key ${GALAXY_API_KEY} {{ galaxy_namespace }} ${CI_PROJECT_NAME} +# rules: +# - if: $CI_COMMIT_TAG != null diff --git a/templates/go-semantic-release.yml.j2 b/templates/go-semantic-release.yml.j2 index e061005..896c648 100644 --- a/templates/go-semantic-release.yml.j2 +++ b/templates/go-semantic-release.yml.j2 @@ -16,9 +16,8 @@ permissions: jobs: release: runs-on: ubuntu-latest - needs: test steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: go-semantic-release/action@v1 id: semrel with: diff --git a/templates/todo-action.yml.j2 b/templates/todo-action.yml.j2 index f8c7e0f..c49fe68 100644 --- a/templates/todo-action.yml.j2 +++ b/templates/todo-action.yml.j2 @@ -12,7 +12,7 @@ jobs: steps: - uses: "actions/checkout@master" - name: "TODO to Issue" - uses: "alstr/todo-to-issue-action@v4.1" + uses: "alstr/todo-to-issue-action@v4.10" id: "todo" with: TOKEN: ${% raw %}{{ secrets.GITHUB_TOKEN }}{% endraw %}