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

feat: allow syncing of environment secrets #55

Merged
merged 3 commits into from
Dec 16, 2021

Conversation

Natanande
Copy link
Contributor

This commit allows one to set an input called "environment", which when
enabled will sync the secrets as environment secrets to the same
repositories instead of putting the secrets as repository secrets.

The action will fail if the targeted repositories does not have the
specified environment created prior to running the action.

Resolves #48

This commit allows one to set an input called "environment", which when
enabled will sync the secrets as environment secrets to the same
repositories instead of putting the secrets as repository secrets.

The action will fail if the targeted repositories does not have the
specified environment created prior to running the action.
@codecov-commenter
Copy link

Codecov Report

Merging #55 (19105dd) into master (178c0ff) will increase coverage by 0.19%.
The diff coverage is 96.87%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   98.23%   98.42%   +0.19%     
==========================================
  Files           6        6              
  Lines         113      127      +14     
  Branches       13       16       +3     
==========================================
+ Hits          111      125      +14     
  Misses          2        2              
Impacted Files Coverage Δ
src/config.ts 100.00% <ø> (ø)
src/github.ts 98.61% <96.29%> (+0.36%) ⬆️
src/main.ts 100.00% <100.00%> (ø)
src/secrets.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 178c0ff...19105dd. Read the comment docs.

@jpoehnelt
Copy link
Owner

Mind rebasing this?

@Natanande
Copy link
Contributor Author

I have fixed the merge conflicts so it should be possible to merge to master.

@jpoehnelt jpoehnelt merged commit 1aba261 into jpoehnelt:master Dec 16, 2021
@github-actions
Copy link

🎉 This PR is included in version 1.7.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.

Sync secrets into repository Environments
3 participants