-
Notifications
You must be signed in to change notification settings - Fork 430
Add an option to allow waiting until an analysis has been processed before finishing the Action. #781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to allow waiting until an analysis has been processed before finishing the Action. #781
Changes from all commits
316ad9d
21a786f
49fc4c9
823bb21
e0b9b9a
4eef7ef
215c4f5
b9bd459
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be false since we're providing a default value?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe it being required means it cannot be null, which it won't be if we're providing a default.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I always understood
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are also other docs that show the opposite pattern; a required argument with a default value. I tried in a test repository, and it seems like Actions doesn't really care about whether the value is "required" or not. Possibly it's a planned future feature, but without knowing how it will interpret the property it's hard to say if one way is any better than the other.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, it is your PR. 🙂 |
||
| default: "false" | ||
| token: | ||
| default: ${{ github.token }} | ||
| matrix: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.