Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@evidenceai/gitlab

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evidenceai/gitlab

A package to manipulate Gitlab API

  • 1.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Gitlab API

This package enables creating new issues in the selected Gitlab instance. The following environment variables are required to be set in the environment:

GITLAB_TOKEN - A token with the permissions to create issues and use the API

GITLAB_HOST - Address of the Gitlab instance, for example gitlab.com

GITLAB_CR_PROJECT_ID - The ID of the project where issues should be created

Installing this package

yarn add  @evidenceai/gitlab

Using this package

The following will create a new issue in the project specified by GITLAB_CR_PROJECT_ID on GITLAB_HOST:

import {
  isGitlabIntegrationConfigured,
  submitContactRequest
} from "@evidenceai/gitlab";

if (!(await isGitlabIntegrationConfigured())) {
  throw new Error("Gitlab integration is not configured");
}

await submitContactRequest({
  email: "sample@email.com",
  message: "tagrr signup request",
  name: "customer name",
  questionnaireData: "this can be anything"
});

Bumping up version

npm version patch
npm publish

There is a gitlab job that automatically publishes from master branch or from tags (assuming you ran the npm version ... command to update package.json and add a tag).

Keywords

FAQs

Package last updated on 27 Jul 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc