
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@codefresh-io/pipeline-autobot
Advanced tools
Component for analyze github repository use github statistic API and generate codefresh steps according repo info.
Examples how use repo analyzer
Run test.js with envs
PASSWORD=****2
REPO_OWNER=codefresh-io
REPO_NAME=pipeline-manager
GIT_CONTEXT=github
WIP
analyzer
.step(clone)
.step(build)
.step(push)
.step(packageJson)
.header(stages)
.enrich(stagesEnricher)
.transform(codefreshYaml)
.resolve()
Transformers - ability to transform from some info to whole yaml file , use cases :
Headers - ability to add some yaml parts before steps
key
use cases:
Steps - ability to add some step to generated pipeline, like git clone, build, notifications, etc
Enricher - ability to enrich each step some additional information, like stage for each step
For add new handler you should create .js in related folder (like analyzer.steps)
Each step has as input analyzer.context (you can access from it githup api, credentials, everything that you need)
module.exports = (context) => {
const { repo: { repoOwner, repoName, branch } , git } = context.getContext();
return {
step : {
type: 'git-clone',
description: 'Cloning main repository...',
repo: `${repoOwner}/${repoName}`,
revision: branch,
git
},
key: 'clone',
group: 'clone'
};
};
Where
key
- it is step name
group
- logical group, like test, linters, etc, will be helpful in future . (For now using it for stages)
FAQs
Generate yaml depend on repo context
We found that @codefresh-io/pipeline-autobot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.