Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

issue-creator

v0.1.10

issue-creator

play

issue-creator

Periodically create GitHub issue

Installation

Copy and paste the following snippet into your .yml file.

              

- name: issue-creator

uses: rerost/[email protected]

Learn more about this action in rerost/issue-creator

Choose a version

issue-creator

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

e.g.

  • Template Issue: #1
  • Template Manifest: WIP

Flow

image

Install

$ GO111MODULE=on go get github.com/rerost/issue-creator
$ issue-creator

Useage

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

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