We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d647d commit a58cdd0Copy full SHA for a58cdd0
.github/workflows/docs-generator.yaml
@@ -1,13 +1,12 @@
1
name: docs-generator
2
3
on:
4
- # workflow_dispatch:
5
- # inputs:
6
- # pr_number:
7
- # description: 'Number of PR to document'
8
- # required: true
9
- # type: string
10
- push:
+ workflow_dispatch:
+ inputs:
+ pr_number:
+ description: 'Number of PR to document'
+ required: true
+ type: string
11
12
jobs:
13
generate_docs:
@@ -19,8 +18,8 @@ jobs:
19
18
PR_FILE: "pr-contents.txt"
20
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21
GIT_HASH: "latest"
22
- PR_NUMBER: 2533
23
- BRANCH_NAME: "docs-update-for-pr-2533"
+ PR_NUMBER: ${{ inputs.pr_number }}
+ BRANCH_NAME: "docs-update-for-pr-${{ inputs.pr_number }}"
24
permissions:
25
id-token: write
26
contents: write
0 commit comments