
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
auto-stage
Advanced tools
Automatically run your latest code after pushing to GitHub
auto-stage
will run a web server that will listen for GitHub web hooks.
In particular, it will look for a push
to a branch of your choosing.
Once it sees a push
, it will automatically:
git pull {remote} {branch}
npm install
npm start
You will need to setup a GitHub Webhook
.
Go to your repo's Settings
-> Webhooks and services
Ensure:
Content type
is application/json
Payload URL
is correct.port
, the default port is 3000
projectPath
(see below) is a git repository and has git pull
access to the remote codeUse it as a node_module:
npm install auto-stage --save
The module exports a single function which takes two parameters:
projectPath
: a relative or absolute path to your project from your working directory
.options
: A hash which accepts three optional values:port
: The desired port of the web serverremote
: The git remote to use for use in git pull
branch
: The remote branch for use in git pull
const stage = require('auto-stage');
var options = {
port: 8080,
remote: 'origin',
branch: 'staging'
};
stage('/projects/my-app', options);
secret
as provided in the Webhooks
configurationMIT
FAQs
a lightweight github webhook auto-staging script
The npm package auto-stage receives a total of 0 weekly downloads. As such, auto-stage popularity was classified as not popular.
We found that auto-stage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.