Adding Secrets + Public Key to Repository#1446
Merged
bitwiseman merged 3 commits intohub4j:mainfrom Jun 21, 2022
Merged
Conversation
Contributor
Author
|
@bitwiseman any chance we could get this in? |
bitwiseman
approved these changes
Jun 21, 2022
Member
|
@maddymanu |
Codecov Report
@@ Coverage Diff @@
## main #1446 +/- ##
============================================
+ Coverage 78.76% 78.80% +0.04%
- Complexity 2107 2113 +6
============================================
Files 201 202 +1
Lines 6410 6427 +17
Branches 361 361
============================================
+ Hits 5049 5065 +16
- Misses 1151 1152 +1
Partials 210 210
Continue to review full report at Codecov.
|
Contributor
Author
|
No worries at all @bitwiseman !!! TY so much!! |
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.
Description
Hey everyone!! I added support for creating secrets for a given repository using the API.
The relevant docs are here: https://docs.github.com/en/rest/actions/secrets#create-or-update-a-repository-secret
It also needed the
getPublicKeymethod, also added!I've tested this with a local snapshot. and has worked in production as well.
I'd be happy to address any changes!!
Before submitting a PR:
mvn -D enable-ci clean install sitelocally. If this command doesn't succeed, your change will not pass CI.main. You will create your PR from that branch.When creating a PR: