3.0.0 • Published 8 months ago

@google-automations/issue-utils v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

Utility for Managing GitHub issues

This is a small utility for managing GitHub issues.

Usage

Install

npm i @google-automations/issue-utils

Usage

addOrUpdateIssue will automatically open or update a GitHub issue. It searches for the issue by title and will update it if necessary.

Example usage:

import {addOrUpdateIssue} from '@google-automations/issue-utils';

const issue = await addOrUpdateIssue(
  octokit,
  'testOwner',
  'testRepo',
  'This is the title of the issue',
  'This is the body of the issue',
  ['some-label', 'another-label']
);
console.log('Issue: ', issue.number);
2.2.0

8 months ago

3.0.0

8 months ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago