dessant/issue-states

Doesn't work as scheduled task

yaeszlo opened this issue · 2 comments

Hello, I was trying to use your action as scheduled task, because wasting GH minutes each time I move 1 card doesn't seem to attractive. My workflow:


name: 'Sync issue status'

on:
  schedule:
    - cron: '30 18 * * 1-5'
  workflow_dispatch:

permissions:
  repository-projects: read
  issues: write
  pull-requests: write

jobs:
  action:
    runs-on: ubuntu-latest
    steps:
      - uses: dessant/issue-states@v2

This is failing. Any way to make it work?

The action does not support batch processing, I'll try to find time early next year to implement the feature.

Hi,

Here's an implementation that operates with a scheduler: https://github.com/marketplace/actions/auto-close-open-issues
Special thanks to dessant for the inspiration.