Skip to content

Commit f2769f1

Browse files
ptoscanoahitacat
authored andcommitted
ci: drop workaround for ansible-lint action bug
There was a bug [1] in the ansible-lint action that made its "working_directory" parameter not working as expected. This was fixed in v6.22.1 [2]. Since we use the "v6" tag, which points to the latest version of ansible-lint 6.x, the fixed action should be used already. Hence, drop the workaround step. [1] ansible/ansible-lint#3905 [2] https://github.com/ansible/ansible-lint/releases/tag/v6.22.1 Signed-off-by: Pino Toscano <[email protected]>
1 parent 113a844 commit f2769f1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ jobs:
2121
with:
2222
path: ansible_collections/redhat/insights
2323

24-
- name: Workaround ansible-lint action bug
25-
run: |
26-
# create a symlink to the .git directory of the checkout
27-
# in the local directory: the current ansible-lint action (v6.22.0)
28-
# does not use its "working_directory" for all its steps;
29-
# https://github.com/ansible/ansible-lint/pull/3905
30-
ln -s ansible_collections/redhat/insights/.git .
31-
3224
- name: Set Ansible environment variables (#1)
3325
run: |
3426
echo "ANSIBLE_COLLECTIONS_PATH=$PWD" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)