Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@techmynder/gitlab-ci-file-lint
Advanced tools
Validate a GitLab pipeline YAML file using the official API.
Weekly downloads
Readme
A small library to help validate GitLab pipeline files using the official API.
Create a .env
file (or .env.local
which will have precedence) with the following values:
Name | Description | Required |
---|---|---|
GITLAB_LINT_TOKEN | The GitLab access token (api scope) | Yes |
GITLAB_LINT_PROJECT_ID | The GitLab project ID to validate against | Yes |
GITLAB_LINT_FILE | The name of the file to validate | No (default: .gitlab-ci.yml ) |
GITLAB_LINT_BASE_URL | The base URL for the API request | No (default: https://gitlab.com ) |
Using the minimal configuration in .env
GITLAB_LINT_TOKEN=secret
GITLAB_LINT_PROJECT_ID=1337
will validate the root .gitlab-ci.yml
file.
The results of the linter will be printed to the console with a matching exit code:
0
.0
.1
.FAQs
Validate a GitLab pipeline YAML file using the official API.
The npm package @techmynder/gitlab-ci-file-lint receives a total of 204 weekly downloads. As such, @techmynder/gitlab-ci-file-lint popularity was classified as not popular.
We found that @techmynder/gitlab-ci-file-lint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.