From a682febcfddaa0a6e887192cd6c1615316193c1f Mon Sep 17 00:00:00 2001 From: Graham Ashton Date: Wed, 4 Oct 2023 12:09:49 +0100 Subject: [PATCH] Use checkout action in install docs Prior to version 6.20.2, the ansible-lint action automatically included the checkout action. It was removed in 55b8b66. The ansible-lint action depends on the presence of a `.git` directory, into which it downloads the `requirements-lock.txt` file. If the directory isn't present, the action fails. This commit updates the example YAML to work around this problem. --- docs/installing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/installing.md b/docs/installing.md index c3d8fa7f55..4ed7ab9d17 100644 --- a/docs/installing.md +++ b/docs/installing.md @@ -95,6 +95,7 @@ jobs: name: Ansible Lint # Naming the build is important to use it as a status check runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: Run ansible-lint uses: ansible/ansible-lint@v6 ```