Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@octorelease/github
Advanced tools
Octorelease plugin to perform actions related to GitHub.
Step | Description |
---|---|
init | Prompt for semantic release label on associated pull request. |
version | Publish a new release to GitHub and upload assets. |
success | Add "released" label to associated pull request. |
fail | Remove semantic release label on associated pull request. |
$ npm install @octorelease/github -D
The plugin can be configured in the Octorelease configuration file:
{
"plugins": [
"@octorelease/github"
]
}
Variable | Description |
---|---|
GITHUB_TOKEN | Access token to perform GitHub operations. |
Options | Description | Default |
---|---|---|
assets | File patterns to upload to GitHub release. Can specify one string or an array of strings. | [] |
checkPrLabels | Specify true to check pull request labels for a semver bump level. Can specify true to use default labels, or an array of custom label names (see example below). | false |
githubUrl | Hostname of private GitHub instance. | https://github.com |
To publish any TGZ archive created in the project root directory:
{
"plugins": [
["@octorelease/github", {
"assets": "*.tgz"
}]
]
}
To check pull request labels for a semver bump level:
{
"plugins": [
["@octorelease/github", {
"checkPrLabels": ["release-none", "release-patch", "release-minor", "release-major"]
}]
]
}
The pull request label must be added by a repo admin after the pull request is merged. If you forget to add the label, a reminder comment will be posted on the pull request and you will have 30 minutes to add a label before the build times out.
FAQs
Octorelease plugin to perform actions related to GitHub.
The npm package @octorelease/github receives a total of 1 weekly downloads. As such, @octorelease/github popularity was classified as not popular.
We found that @octorelease/github 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.