Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

move-stale-issues

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

move-stale-issues

Automatically move issues to a milestone

  • 3.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Move Stale Issues

sheriff

NPM

This actions moves stales issues from-milestone to target-milestone.

This project is inspired by the https://github.com/actions/stale, but, since the stale action close issues and PRs, I decided to make a simpler action that only moves the stale issues.


Config

configdescriptiondefault
repo-tokenThe github token. ${{ secrets.GITHUB_TOKEN }})*required
from-milestoneThe milestone name that we will look for stale issues
you can pass milestone separated by comma (Milestone1, Milestone2...)
*required
target-milestoneThe milestone we will move the stale issues*required
days-before-staleTotal of days we consider an issue stale
0 will move all issues from-milestone to target-milestone
30
exempt-all-assigneesExempt all issues with assignees from stalefalse

Using with Node.js

You can also use this action in your node.js app:

npm install move-stale-issues
const { runAction } = require('move-stale-issues');

(async () => {
  await runAction('repo-owner', 'repo-name', {
    token: 'PAT',
    fromMilestone: 'From name',
    targetMilestone: 'Target name',
    daysBeforeStale: 30
  });

Workflow example

name: move-stale-issues

on:
  schedule:
    - cron: '30 1 * * *'

jobs:
  move-stale-issues:
    runs-on: ubuntu-latest
    steps:
      - uses: Deividy/move-stale-issues@v3.1
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          from-milestone: WIP
          target-milestone: Backlog
          days-before-stale: 60

Keywords

FAQs

Package last updated on 24 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc