rreichel3 / IssueYAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IssueYAML

An action to automatically create and bump issues.

If the action sees a scheduled event or manual trigger it will run the bump logic. If it is triggered any other way, it will attempt to create any missing issues.

Note, this is a beta release. Its not very flexible. PR's welcome 😁.

IssueYAML Syntax

issues:
  - title: Website out of date
    nwo: rreichel3/rj3.me
    labels:
      - needs-update
    boardURL: https://github.com/rreichel3/rj3.me/projects/1
    body: |
      I noticed there was drift from my list of projects, I need to add IssueYAML
      ## Remediation Checklist
      - [ ] Add IssueYAML to the README.md

Issue Creation Action

on:
  push:
    branches:
      - main
    paths:
      - 'issues'

jobs:
  create_issues:
    runs-on: ubuntu-latest
    name: Create issue on merge to main
    steps:
      # To use this repository's private action,
      # you must check out the repository
      - name: Checkout
        uses: actions/checkout@v2
      - name: Create issues
        uses: rreichel3/IssueYAML@v1

Issue Bump Action

on:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron:  '50 * * * *'

jobs:
  create_issues:
    runs-on: ubuntu-latest
    name: Ping issues
    steps:
      # To use this repository's private action,
      # you must check out the repository
      - name: Checkout
        uses: actions/checkout@v2
      - name: Ping issues
        uses: rreichel3/IssueYAML@v1

About


Languages

Language:JavaScript 100.0%