You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
github_actions_secret: support environment secrets #681
Thank you @marcinwyszynski - happy to contribute if I can. I think this links into #528, as my use case would be to allow squads to define environments and environment secrets programatically to protect CD keys.
I think @srgustafson8 the main difficulty here is that this resource depends on the environment resource which is still missing, and the API of that does not look terribly stable.
I think @srgustafson8 the main difficulty here is that this resource depends on the environment resource which is still missing, and the API of that does not look terribly stable.
Understood - it looks like someone had a go at the environment resource here #736 but then closed the PR.
I'll see what I can reuse from #736 - I think if one simplifies it a bit to avoid using unstable parts of the API, future iterations can build on top of it.
I just had a PR merged into the go-github module that provides the client for environments and environment secrets (google/go-github#1847). Not sure how long this will take to make it's way here but it may help
Reacted by Heikki Hokkanen, Robson Roberto Souza Peixoto, Nikki Kapil, Feraudet Cyril, Marcin Wyszynski and skillz-infra-bot
Reacted by harana, Jeremy Udit and Feraudet Cyril
Reacted by Robson Roberto Souza Peixoto, Jeremy Udit, Vadim Kadnikov and Feraudet Cyril
Please stop posting useless +1 comments that add nothing to the discussion. Upvoting the first comment is for showing you support the idea. People who are subscribed to the issue do not want emails of +1 comments. Thanks for understanding.
Reacted by Marcin Wyszynski, Philip Cristiano, Justin Yeoh and Hamza Pavlovič
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Activity
dudicoco commentedon Mar 3, 2021
Are there any plans on implementing this? Standard actions secrets are not secure, the only way to secure secrets is by using environment secrets.
crmitchelmore commentedon Mar 3, 2021
Would love to see this
stevengonsalvez commentedon Mar 3, 2021
+1
marcinwyszynski commentedon Mar 17, 2021
I need it. I'll take this. I intend to make it a separate resource, because it's really a very different thing.
srgustafson8 commentedon Mar 22, 2021
Thank you @marcinwyszynski - happy to contribute if I can. I think this links into #528, as my use case would be to allow squads to define environments and environment secrets programatically to protect CD keys.
marcinwyszynski commentedon Mar 22, 2021
I think @srgustafson8 the main difficulty here is that this resource depends on the environment resource which is still missing, and the API of that does not look terribly stable.
marcinwyszynski commentedon Mar 22, 2021
My concept for now would be to just add a "stub" resource for the environment, without branch protection rules (reviewers, timer etc.)
srgustafson8 commentedon Mar 23, 2021
Understood - it looks like someone had a go at the environment resource here #736 but then closed the PR.
marcinwyszynski commentedon Mar 23, 2021
I'll see what I can reuse from #736 - I think if one simplifies it a bit to avoid using unstable parts of the API, future iterations can build on top of it.
srgustafson8 commentedon Apr 8, 2021
I just had a PR merged into the go-github module that provides the client for environments and environment secrets (google/go-github#1847). Not sure how long this will take to make it's way here but it may help
feraudet commentedon May 20, 2021
+1
hoxu commentedon May 22, 2021
Please stop posting useless +1 comments that add nothing to the discussion. Upvoting the first comment is for showing you support the idea. People who are subscribed to the issue do not want emails of +1 comments. Thanks for understanding.
threeseed commentedon May 31, 2021
For those interested I am currently working on this in conjunction wth #528.
threeseed commentedon Jun 3, 2021
PR has been raised. Huge thank you to @srgustafson8 for adding support in go-github.
github-actions commentedon Dec 4, 2022
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!kfcampbell commentedon Dec 6, 2022
Closing as #805 has been merged. Thanks again @nadenf!