From 7c04bd48634d04d1442c38f5551246b9a986f5b9 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sun, 19 Oct 2025 11:15:30 -0500 Subject: [PATCH] workflow: +yml path filter, pycolors?, online/implied ansible-lint requirements --- .forgejo/workflows/lint.yml | 7 ++++--- meta/requirements.yml => requirements.yml | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename meta/requirements.yml => requirements.yml (100%) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 70ea809..873fbe3 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -6,6 +6,8 @@ on: # yamllint disable-line rule:truthy push: branches: - master + paths: + - '**/*.yml' schedule: - cron: "20 4 * * 0" @@ -22,6 +24,8 @@ jobs: cache: 'pip' - run: pip install -r requirements.txt + env: + PY_COLORS: '1' - name: cache '.ansible/collections' id: cache-collections @@ -30,9 +34,6 @@ jobs: path: /home/runner/.ansible key: zfs_dkms-runner-dot-ansible - - run: ansible-galaxy collection install -r meta/requirements.yml - - run: ansible-lint env: - PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' diff --git a/meta/requirements.yml b/requirements.yml similarity index 100% rename from meta/requirements.yml rename to requirements.yml