Skip to content
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 Secret Deletion Feature #47

Merged
merged 4 commits into from
Jun 3, 2021
Merged

Add Secret Deletion Feature #47

merged 4 commits into from
Jun 3, 2021

Conversation

Plabick
Copy link
Contributor

@Plabick Plabick commented Jun 3, 2021

Allow users to delete secrets from repositories using the same means as adding them by setting the optional input "delete" to true.
Secret deletion was exposed through the GitHub API but not added to octokit so deletion is done by using Octokit.Request() to make an API call. In addition to the new unit tests method, I tested this thoroughly on my own repositories.

@codecov-commenter
Copy link

codecov-commenter commented Jun 3, 2021

Codecov Report

Merging #47 (02ae88f) into master (dd05465) will increase coverage by 0.19%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   98.03%   98.23%   +0.19%     
==========================================
  Files           6        6              
  Lines         102      113      +11     
  Branches       10       13       +3     
==========================================
+ Hits          100      111      +11     
  Misses          2        2              
Impacted Files Coverage Δ
src/config.ts 100.00% <ø> (ø)
src/github.ts 98.24% <100.00%> (+0.28%) ⬆️
src/main.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd05465...02ae88f. Read the comment docs.

@jpoehnelt jpoehnelt merged commit 178c0ff into jpoehnelt:master Jun 3, 2021
@jpoehnelt
Copy link
Owner

Thanks!

@github-actions
Copy link

github-actions bot commented Jun 3, 2021

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants