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

Develop 0.2.4 #8

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Develop 0.2.4 #8

merged 2 commits into from
Apr 12, 2023

Conversation

kavaribes
Copy link
Contributor

0.2.4

  • Added an option to set roles by ALLOW_SSH_ACCESS_ROLES env. Set admin, maintain, write by default.
  • Added the action to create a GitHub release.

@kavaribes kavaribes requested review from planv and fqjony April 12, 2023 13:13
@kavaribes kavaribes merged commit 2e097fe into latest Apr 12, 2023
@@ -27,6 +27,8 @@ var _ = require('lodash');

module.exports.updateKeys = function updateKeys(options, taskCallback) {

let roles = process.env.ALLOW_SSH_ACCESS_ROLES || "admin,maintain,write";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kavaribes, we probably need some kind of validation here. I mean to prevent passing unexpected values to process.env.ALLOW_SSH_ACCESS_ROLES.

Also, as an improvement, I would move the default configuration to the package config or even better to YAML config.

@kavaribes kavaribes deleted the develop-0.2.4 branch October 5, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants