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.
workflow_dispatch
1 parent bc09a53 commit 4c2d980Copy full SHA for 4c2d980
.github/workflows/upload_pr_documentation.yml
@@ -23,7 +23,8 @@ jobs:
23
runs-on: ubuntu-latest
24
if: >
25
(github.event.workflow_run.event == 'pull_request' ||
26
- github.event.workflow_run.event == 'pull_request_target') &&
+ github.event.workflow_run.event == 'pull_request_target' ||
27
+ github.event.workflow_run.event == 'workflow_dispatch') &&
28
github.event.workflow_run.conclusion == 'success'
29
30
steps:
@@ -83,7 +84,7 @@ jobs:
83
84
echo "Encountered an invalid commit_sha"
85
exit 1
86
fi
-
87
+
88
content_pr_number=$(cat ./build_dir/pr_number)
89
if [[ $content_pr_number =~ ^[0-9]+$ ]]; then
90
echo "pr_number=$content_pr_number" >> $GITHUB_OUTPUT
0 commit comments