Giter Site home page Giter Site logo

wait-for-secrets's People

Contributors

arjundashrath avatar ashishkurmi avatar dependabot[bot] avatar devils-knight avatar step-security-bot avatar stepsecurity-app[bot] avatar varunsh-coder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wait-for-secrets's Issues

Support NodeJS 18 or higher since 16 is deprecated

Hello, thanks for this GitHub Action package, I use it in a few of my open source projects, however I'm getting a warning from GitHub Action that Node16 are deprecated and eventually migrated (or fail). Below is the warning I'm currently receiving after an NPM release using this action

[deploy-npm-latest](https://github.com/lerna-lite/lerna-lite/actions/runs/8530155212/job/23367421675)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: step-security/wait-for-secrets@v1. 

For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

Add `.` to build log output instead of printing the URL again

Currently we print the URL every 10 seconds:

console.log("Visit the URL to input the secrets:");

You can see this here:
https://github.com/step-security/secure-workflows/actions/runs/3050195152/jobs/4917035695#step:7:12

The change is to only print the URL once and then print a . every 10 seconds. This will reduce size of the build log.
In addition,

  1. The first time the URL is printed, it should be printed before the wait statement.
    await sleep(9000);
  2. It should be printed in green color, similar to how we print for harden runner. The code for that is here.

Add feature to call GitHub APIs as user

We need to think more about how to do this, but it would be interesting to provide the GitHub token of the user using the browser and publish a release or call GitHub API using it.

For example, currently, the wait-for-secrets Action is released using a PAT. PAT is created manually and entered during the workflow. After the workflow is completed, the PAT is deleted.

It would be nice if this process could be made simpler.

Show helpful page after secrets have been entered

After the secrets are entered, the UI shows a blank page.

We need to update the page to show that secrets have already been entered and show some basic details, and link back to the workflow run.

Add end-to-end encryption

Ideally, the secrets should be encrypted end-to-end so the backend API cannot access them. Only the GitHub Action should be able to decrypt the secrets.

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.