Giter Site home page Giter Site logo

secret-manager-action's People

Contributors

actions-user avatar datphan avatar dependabot[bot] avatar hoatle avatar

Stargazers

 avatar

Watchers

 avatar  avatar

secret-manager-action's Issues

key value validation should be supported

Sometimes I need to validate some key values, for example:

  • some keys are required
  • some keys are required to validate against a regular expression
  • some keys are validated against a regular expression

Validators can be plugin added in the future: required, isNumber, isBoolean, etc. (out of this issue scope), only required and regex validator is expected for this issue.

If any key values are not valid, the run step should fail with the invalid message of the associated key.

The github action input configuration could be like this:

validation: "FOO:required, BAR:/^\d+$/"

or:

validation: "FOO: required | /^\d+$/, BAR: required"

Pipeline is supported to add a chain of validators, there is no limit to use the pipeline. The key values will be validated again the validator of the pipeline chain from left to right, if any validation failed, the whole key-value valuation fails.

should improve the github actions workflow

so that forked repo won't get failed even without requiring any secret config, however, currently, it requires github secret config to run.

We need to use docker-compose run CI/CD, build and publish docker images, etc.

skip_allowed input should be supported

sometimes it's desired to skip the action if required inputs are not configured, this is especially helpful on forked repo when running github actions.

so let's add skip_allowed option (true) by default.

if skip_allowed=true: when one of the required inputs is not configured, skip the run step.
if skip_allowed=false: when one of the required inputs is not configured, failed the run step.

Error: Unable to process command '::set-env...' should be fixed

Error: Unable to process command '::set-env name=...' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.