From 4d4b79bf3598588d58e310c89e7f5c17f313f04d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 28 Mar 2026 15:42:46 +0100 Subject: workflows/infra: add the LIMIT input --- .github/workflows/infra.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/infra.yml b/.github/workflows/infra.yml index c7d8841..4fd55a4 100644 --- a/.github/workflows/infra.yml +++ b/.github/workflows/infra.yml @@ -2,7 +2,19 @@ name: infra on: workflow_call: + inputs: + limit: + description: 'Ansible hosts' + type: string + default: all + required: false workflow_dispatch: + inputs: + limit: + description: 'Ansible hosts' + type: string + default: all + required: false jobs: maintenance: @@ -34,4 +46,4 @@ jobs: git config --global user.email 'egor@tensin.name' - name: Run maintenance run: | - make -C infra maintenance + make -C infra maintenance 'LIMIT=${{ inputs.limit }}' -- cgit v1.3