Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
github-build
Advanced tools
Github builds/checks for CI
npm install github-build --save
const Build = require('github-build')
const data = {
repo: 'siddharthkp/github-build', // (author/repo)
sha: '6954e71d46be1ae9b0529aae6e00b64d7a1023d4', // (commit sha)
token: 'secret', // (github oauth token: https://developer.github.com/v3/oauth)
label: 'my CI service',
description: 'checking some stuff',
url: 'http://my-ci-service.com/builds/1', // details url
}
/* Create a build */
const build = new Build(data)
/* When you call start, a pending status get's added on github (returns a promise) */
build.start()
/* Run your tests */
/* If things go well, call pass, it will mark change the status to success ✅ (returns a promise) */
build.pass()
/* Or if the tests fail, mark this build as failed ❌ (returns a promise) */
build.fail()
/* If you could not run the tests because of incorrect config, just error out the build (returns a promise) */
build.error() // use when build errors out (returns a promise)
If you like it then you should put a ⭐️ on it
MIT © siddharthkp
FAQs
Github builds/checks for CI
The npm package github-build receives a total of 40,445 weekly downloads. As such, github-build popularity was classified as popular.
We found that github-build demonstrated a healthy version release cadence and project activity because the last version was released less than 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
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.