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

0.6.1 • 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...",
  })
}

/@aki77/actions-replace-comment/

    Package Sidebar

    Install

    npm i @aki77/actions-replace-comment

    Weekly Downloads

    76

    Version

    0.6.1

    License

    MIT

    Unpacked Size

    5.35 kB

    Total Files

    4

    Last publish

    Collaborators

    • aki77