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

@pulumi/github

Package Overview
Dependencies
Maintainers
2
Versions
458
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/github

A Pulumi package for creating and managing github cloud resources.

  • 6.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created

What is @pulumi/github?

@pulumi/github is an npm package that allows you to manage GitHub resources using Pulumi, a modern infrastructure as code platform. With this package, you can automate the creation, configuration, and management of GitHub repositories, teams, issues, and more using Pulumi's programming model.

What are @pulumi/github's main functionalities?

Manage Repositories

This feature allows you to create and manage GitHub repositories. The code sample demonstrates how to create a new public repository named 'my-repo' with a description using Pulumi.

const pulumi = require('@pulumi/pulumi');
const github = require('@pulumi/github');

const repo = new github.Repository('my-repo', {
  name: 'my-repo',
  description: 'My awesome repository',
  private: false
});

exports.repoName = repo.name;

Manage Teams

This feature allows you to create and manage GitHub teams. The code sample demonstrates how to create a new team named 'my-team' with a description and closed privacy setting using Pulumi.

const pulumi = require('@pulumi/pulumi');
const github = require('@pulumi/github');

const team = new github.Team('my-team', {
  name: 'my-team',
  description: 'My awesome team',
  privacy: 'closed'
});

exports.teamName = team.name;

Manage Issues

This feature allows you to create and manage GitHub issues. The code sample demonstrates how to create a new issue in the 'my-repo' repository with a title, body, and assignee using Pulumi.

const pulumi = require('@pulumi/pulumi');
const github = require('@pulumi/github');

const issue = new github.Issue('my-issue', {
  repository: 'my-repo',
  title: 'Bug: Something is broken',
  body: 'Detailed description of the issue',
  assignees: ['username']
});

exports.issueTitle = issue.title;

Other packages similar to @pulumi/github

Keywords

FAQs

Package last updated on 21 Nov 2024

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