Skip to content

Commit 2c28a08

Browse files
committed
git: add input params for workflow
1 parent 9f60cca commit 2c28a08

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ on:
2222
- main
2323

2424
workflow_dispatch: # Allow manual triggering or via API
25+
inputs:
26+
source:
27+
description: "Source of the workflow dispatch"
28+
required: false
29+
default: "manual"
2530

2631
# Global permissions
2732
permissions:

.github/workflows/formal-spec-listener.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,4 @@ jobs:
8787
with:
8888
workflow: docs.yaml
8989
token: ${{ github.token }}
90+
inputs: '{"source": "formal-spec-listener"}'

0 commit comments

Comments
 (0)