Skip to content

Commit a58cdd0

Browse files
author
kiran-garre
committed
Remove hardcoded values, switch back to manual trigger
1 parent a8d647d commit a58cdd0

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/docs-generator.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
name: docs-generator
22

33
on:
4-
# workflow_dispatch:
5-
# inputs:
6-
# pr_number:
7-
# description: 'Number of PR to document'
8-
# required: true
9-
# type: string
10-
push:
4+
workflow_dispatch:
5+
inputs:
6+
pr_number:
7+
description: 'Number of PR to document'
8+
required: true
9+
type: string
1110

1211
jobs:
1312
generate_docs:
@@ -19,8 +18,8 @@ jobs:
1918
PR_FILE: "pr-contents.txt"
2019
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2120
GIT_HASH: "latest"
22-
PR_NUMBER: 2533
23-
BRANCH_NAME: "docs-update-for-pr-2533"
21+
PR_NUMBER: ${{ inputs.pr_number }}
22+
BRANCH_NAME: "docs-update-for-pr-${{ inputs.pr_number }}"
2423
permissions:
2524
id-token: write
2625
contents: write

0 commit comments

Comments
 (0)