Skip to content

w3f/action-create-issues-for-old-files

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

Create issues for stale docs

This action takes a list of outdated files and creates issues for each of them. You can set max. count of issues to create per one run.

Input

  • files β€” Path to JSON with stale files, see below
  • prefix β€” Issue title prefix, default is [STALE]
  • body - Issue message body, default Last edit happened $$$ days ago 😬, where $$$ will be replaced with file age
  • labels - Issue labels, JSON string, default is ['docs', 'stale']
  • assignees β€” Issue assignees, JSON string, default is repo owner
  • randAssignees - Issue assignees, pick one at random, JSON string, overrides previous option
  • max β€” Max count of issues to create per one run

Input file format
JSON, where key is a path to file and value is age since last commit.

{
  "path/to/file.md": 21,
  ...
}

About

Take stale docs and create issues for each

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%