aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-03-28 15:42:46 +0100
committerEgor Tensin <egor@tensin.name>2026-03-28 15:42:46 +0100
commit4d4b79bf3598588d58e310c89e7f5c17f313f04d (patch)
tree59f1bcb38e37b7c0af150fa6e7ab7d51863c53e9 /.github/workflows
parentMerge pull request #4 from egor-tensin/dependabot/github_actions/webfactory/s... (diff)
downloadmaintenance-4d4b79bf3598588d58e310c89e7f5c17f313f04d.tar.gz
maintenance-4d4b79bf3598588d58e310c89e7f5c17f313f04d.zip
workflows/infra: add the LIMIT input
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/infra.yml14
1 files changed, 13 insertions, 1 deletions
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 }}'