Repository navigation
Conversation
RUN_TASK_SECRETS is a JSON list of secrets for run-task to fetch before checkout. The first type, github-repo-token, requests a GitHub App installation token from Taskcluster's auth service and exports it to an environment variable, GITHUB_TOKEN by default. Tokens are also kept in memory so run-task can authenticate its own GitHub requests.
Contributor
Author
|
This adds the ability to fetch a Github app installation access token in As you might guess from the implementation, the intent here is to also support fetching Taskcluster secrets using this mechanism (a feature I've long meant to implement). But I'll tackle that part separately. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1105 +/- ##
==========================================
+ Coverage 80.00% 80.13% +0.13%
==========================================
Files 134 134
Lines 14190 14283 +93
Branches 1645 1654 +9
==========================================
+ Hits 11352 11445 +93
Misses 2399 2399
Partials 439 439 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RUN_TASK_SECRETS is a JSON list of secrets for run-task to fetch before checkout. The first type, github-repo-token, requests a GitHub App installation token from Taskcluster's auth service and exports it to an environment variable, GITHUB_TOKEN by default. Tokens are also kept in memory so run-task can authenticate its own GitHub requests.