Skip to content

Commit 73367f5

Browse files
galin-sMartinNikov
authored andcommitted
config(reusable-update-flake-lock): Add flake-input as a parameter with empty default value
1 parent b0dcbd4 commit 73367f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/reusable-update-flake-lock.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
default: '["self-hosted"]'
1010
required: false
1111
type: string
12+
flake-input:
13+
description: 'Parameter for determining which flake will get updated'
14+
default: ''
15+
required: false
16+
type: string
1217

1318
secrets:
1419
NIX_GITHUB_TOKEN:
@@ -46,7 +51,7 @@ jobs:
4651
curl -fsSL --proto '=https' --tlsv1.2 \
4752
https://raw.githubusercontent.com/metacraft-labs/nixos-modules/main/scripts/commit_flake_update.bash \
4853
-o commit_flake_update.bash
49-
bash commit_flake_update.bash
54+
FLAKE_INPUT=${{ inputs.flake-input }} bash commit_flake_update.bash
5055
5156
- uses: tibdex/[email protected]
5257
id: generate-token

0 commit comments

Comments
 (0)