Categorygithub.com/rerost/issue-creator
modulepackage
0.4.3
Repository: https://github.com/rerost/issue-creator.git
Documentation: pkg.go.dev

# README

issue-creator

codecov

This is a CLI tool for automatically generating periodically created issues.

e.g.

Breaking Change

v0.1.x -> v0.2.x: The behavior has changed from moving to the Archive Category when closing a GitHub Discussion to simply closing the Discussion

Flow

image

Install

$ go install github.com/rerost/issue-creator@latest
$ issue-creator

Usage

NOTE: please set GithubAccessToken for create issue, K8sCommands for schedule issue

issue-creator render https://github.com/rerost/issue-creator/issues/1
issue-creator create https://github.com/rerost/issue-creator/issues/1
issue-creator create https://github.com/rerost/issue-creator/issues/1 --CloseLastIssue
issue-creator schedule render '30 5 * * 1' https://github.com/rerost/issue-creator/issues/1
issue-creator schedule apply '30 5 * * 1' https://github.com/rerost/issue-creator/issues/1
issue-creator schedule apply '30 5 * * 1' https://github.com/rerost/issue-creator/issues/1 --CloseLastIssue

Discussion

issue-creator create https://github.com/rerost/issue-creator/discussions/48

Use from GitHub Actions

Example

on:
  schedule:
    - cron: "0 0 * * MON"
  workflow_dispatch: {}

jobs:
  create-issue:
    runs-on: ubuntu-latest
    steps:
      - uses: rerost/[email protected]
        with:
          template-issue: 1 # https://github.com/rerost/issue-creator/issues/1
          discussion: true # Required if you want to create a discussion

or

on:
  schedule:
    - cron: "0 0 * * MON"
  workflow_dispatch: {}

jobs:
  create-issue:
    runs-on: ubuntu-latest
    steps:
      - uses: rerost/[email protected]
        with:
          template-issue-url: https://github.com/rerost/issue-creator/issues/1

Development

Release

$ ./release.sh <TAG>

// e.g `./release.sh v0.3.1`

Update token

https://github.com/rerost/issue-creator/issues/111

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author