Skip to content

Commit

Permalink
Merge pull request #781 from github/wait-for-processing
Browse files Browse the repository at this point in the history
Add an option to allow waiting until an analysis has been processed before finishing the Action.
  • Loading branch information
Chris Gavin authored and GitHub committed Nov 18, 2021
2 parents 2ecc17d + b9bd459 commit 3e36cdd
Show file tree
Hide file tree
Showing 14 changed files with 214 additions and 31 deletions.
4 changes: 4 additions & 0 deletions analyze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ inputs:
description: Whether to upload the resulting CodeQL database
required: false
default: "true"
wait-for-processing:
description: If true, the Action will wait for the uploaded SARIF to be processed before completing.
required: true
default: "false"
token:
default: ${{ github.token }}
matrix:
Expand Down
15 changes: 11 additions & 4 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3e36cdd

Please sign in to comment.