Skip to content

joshjohanning-org/issueops-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

issueops-samples

Solutions

  • New Repo IssueOps

General Features

  • issue template and issue parsing
  • uses GitHub App for authentication
  • posting back comment to repo with instructions after initial issue creation
  • renames the issue after creation for consistency
  • creating repo using Octokit JavaScript SDK
  • adds issue label when the repo after job completion

Setup

Creds

  1. Create a repo secret titled ADMIN_TOKEN with the value of a GitHub PAT (or modify the workflow code with the title of the secret with the GitHub PAT)
  2. Create a label titled new-repo AND created

Labels

Create the appropriate labels

gh label create create-repo -R joshjohanning-org/issueops-samples
gh label create created -R joshjohanning-org/issueops-samples

gh label create delete-repos -R joshjohanning-org/issueops-samples
gh label create deleted -R joshjohanning-org/issueops-samples

Example Issue

This contains the request and processing messages: #35

Notes

This often assumes the org that the IssueOps repo is hosted in is the org you are using for API calls (ie: to create/delete repos). Update the owner as appropriate or modify the issue template to allow that as an input.

About

Samples of using Issueops to create/delete a repository, among others

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published