diff --git a/.github/linters/.gitleaks.toml b/.github/linters/.gitleaks.toml deleted file mode 120000 index 7a4ee15a..00000000 --- a/.github/linters/.gitleaks.toml +++ /dev/null @@ -1 +0,0 @@ -../../common/.gitleaks.toml \ No newline at end of file diff --git a/.github/linters/.gitleaks.toml b/.github/linters/.gitleaks.toml new file mode 100644 index 00000000..33869098 --- /dev/null +++ b/.github/linters/.gitleaks.toml @@ -0,0 +1,9 @@ +[whitelist] +# As of v4, gitleaks only matches against filename, not path in the +# files directive. Leaving content for backwards compatibility. +files = [ + "ansible/plugins/modules/*.py", + "ansible/tests/unit/test_*.py", + "ansible/tests/unit/*.yaml", + "ansible/tests/unit/v2/*.yaml", +] diff --git a/.gitleaks.toml b/.gitleaks.toml deleted file mode 100644 index b27bbfca..00000000 --- a/.gitleaks.toml +++ /dev/null @@ -1 +0,0 @@ -.github/linters/.gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 120000 index 00000000..c05303b9 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1 @@ +.github/linters/.gitleaks.toml \ No newline at end of file