-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add download token and sha to ListRunnerApplicationDownloads #1862
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 download token and sha to ListRunnerApplicationDownloads #1862
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
github/actions_runners.go
Outdated
DownloadURL *string `json:"download_url,omitempty"` | ||
Filename *string `json:"filename,omitempty"` | ||
TempDownloadToken *string `json:"temp_download_token,omitempty"` | ||
Sha256Checksum *string `json:"sha256_checksum,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be consistent with the rest of the repo, let's please change this to SHA256Checksum
.
@googlebot I signed it! |
Thank you, @lupine86 ! |
Codecov Report
@@ Coverage Diff @@
## master #1862 +/- ##
=======================================
Coverage 97.65% 97.65%
=======================================
Files 105 105
Lines 6769 6769
=======================================
Hits 6610 6610
Misses 86 86
Partials 73 73
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @lupine86 !
LGTM.
Merging.
See #1861
When using Git Hub Enterprise APIs a temp_download_token is included when querying runner downloads via the API.
This PR updates the response structure to include the necessary token and SHA checksum.