Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work as scheduled task #4

Open
yaeszlo opened this issue Aug 30, 2022 · 2 comments
Open

Doesn't work as scheduled task #4

yaeszlo opened this issue Aug 30, 2022 · 2 comments

Comments

@yaeszlo
Copy link

yaeszlo commented Aug 30, 2022

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?

@dessant
Copy link
Owner

dessant commented Dec 4, 2022

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

@pamasse
Copy link

pamasse commented Aug 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants