-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe your issue
Is it possible to use this action to immediately close issues, with no stale period?
The documentation doesn't describe this scenario.
Further context
I add a label added or fixed to issues when the issue is resolved in a non default branch. Once I make a release I want to automatically close those issues. Instead of running on a schedule, I was thinking I could run this on a published release event.
This is my best guess at a workflow, but I'm thinking it won't work as I'm intending (maybe it will?).
name: Close Added/Fixed Issues
on:
release:
types: [published]
jobs:
close_issues:
name: Check Issues / PRs
runs-on: ubuntu-latest
steps:
- name: Close Issues (added/fixed)
uses: actions/stale@v3
with:
only-issues-labels: 'added,fixed'
close-issue-message: >
This is now available in the latest release.
close-issue-label: 'released'
days-before-issue-stale: 0
days-before-issue-close: 0
ignore-updates: trueMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working