aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
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 }}'