
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
github.com/goplugin/plugin-testing-framework/tools/workflowresultparser
This Go script fetches jobs from a specified GitHub Actions workflow run, filters them based on a regex pattern, and outputs the results. The output can be saved to a specified file and optionally stored under a named key.
go run main.go --githubToken <token> --githubRepo <repository> --workflowRunID <workflow_run_id> --jobNameRegex <regex_pattern> [options]
go run main.go --githubToken ghp_exampleToken --githubRepo owner/repo --workflowRunID 123456789 --jobNameRegex "Test-.*" --outputFile results.json
{
"results": [
{
"conclusion": ":white_check_mark:",
"cap": "1",
"html_url": "http://example.com/job1"
},
{
"conclusion": ":x:",
"cap": "2",
"html_url": "http://example.com/job2"
}
]
}
--githubToken
: GitHub token for authentication (required).--githubRepo
: GitHub repository in the format owner/repo
(required).--workflowRunID
: ID of the GitHub Actions workflow run (required).--jobNameRegex
: Regex pattern to match job names (required).--namedKey
: Optional named key under which results will be stored.--outputFile
: Optional output file name to save the results.The script will panic and display error messages in the following scenarios:
--githubToken
, --githubRepo
, --workflowRunID
, --jobNameRegex
.--namedKey
flag to categorize results in the output file for better organization.FAQs
Unknown package
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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.