@aki77/actions-replace-comment
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

@aki77/actions-replace-comment

Usage

import * as core from '@actions/core'
import * as github from '@actions/github'
import replaceComment from '@aki77/actions-replace-comment'

async function run(): Promise<void> {
  await replaceComment({
    token: core.getInput('token'),
    owner: github.context.repo.owner,
    repo: github.context.repo.repo,
    issue_number: github.context.issue.number,
    body: "# Title\n\nDescription...",
  })
}

Readme

Keywords

none

Package Sidebar

Install

npm i @aki77/actions-replace-comment

Weekly Downloads

48

Version

0.6.0

License

MIT

Unpacked Size

5.28 kB

Total Files

4

Last publish

Collaborators

  • aki77