super-productivity/.github/workflows/stale-discussions.yml
dependabot[bot] 77a065a1b9
chore(deps)(deps): bump the github-actions-minor group with 7 updates (#7150)
Bumps the github-actions-minor group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [step-security/harden-runner](https://github.com/step-security/harden-runner) | `2.16.0` | `2.16.1` |
| [gradle/actions](https://github.com/gradle/actions) | `6.0.1` | `6.1.0` |
| [android-actions/setup-android](https://github.com/android-actions/setup-android) | `4.0.0` | `4.0.1` |
| [KSXGitHub/github-actions-deploy-aur](https://github.com/ksxgithub/github-actions-deploy-aur) | `4.1.1` | `4.1.2` |
| [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.82` | `1.0.89` |
| [docker/login-action](https://github.com/docker/login-action) | `4.0.0` | `4.1.0` |
| [zenoprax/stalesweeper](https://github.com/zenoprax/stalesweeper) | `1.0.0` | `1.1.2` |


Updates `step-security/harden-runner` from 2.16.0 to 2.16.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](fa2e9d605c...fe10465874)

Updates `gradle/actions` from 6.0.1 to 6.1.0
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](39e147cb9d...50e97c2cd7)

Updates `android-actions/setup-android` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/android-actions/setup-android/releases)
- [Commits](651bceb6f9...40fd30fb8d)

Updates `KSXGitHub/github-actions-deploy-aur` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/ksxgithub/github-actions-deploy-aur/releases)
- [Commits](2ac5a4c1d7...abe8ac26b5)

Updates `anthropics/claude-code-action` from 1.0.82 to 1.0.89
- [Release notes](https://github.com/anthropics/claude-code-action/releases)
- [Commits](88c168b39e...6e2bd52842)

Updates `docker/login-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](b45d80f862...4907a6ddec)

Updates `zenoprax/stalesweeper` from 1.0.0 to 1.1.2
- [Release notes](https://github.com/zenoprax/stalesweeper/releases)
- [Commits](https://github.com/zenoprax/stalesweeper/compare/v1.0.0...v1.1.2)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-minor
- dependency-name: gradle/actions
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor
- dependency-name: android-actions/setup-android
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-minor
- dependency-name: KSXGitHub/github-actions-deploy-aur
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-minor
- dependency-name: anthropics/claude-code-action
  dependency-version: 1.0.89
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-minor
- dependency-name: docker/login-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor
- dependency-name: zenoprax/stalesweeper
  dependency-version: 1.1.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-09 20:34:50 +02:00

59 lines
2.2 KiB
YAML

---
name: Close Stale Discussions
'on':
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
days-before-close:
description: 'days-before-close: number of days of inactivity before closing a discussion'
required: false
default: '0'
type: string
dry-run:
description: 'dry-run: when checked, no discussions will be closed'
default: true
type: boolean
permissions:
discussions: write
jobs:
close-stale-discussions:
runs-on: ubuntu-latest
steps:
- name: stalesweeper
uses: zenoprax/stalesweeper@v1.1.2
env:
DAYS_BEFORE_CLOSE: ${{ github.event_name == 'schedule' && '180' || github.event.inputs.days-before-close }}
DRY_RUN: ${{ github.event_name == 'schedule' && 'false' || github.event.inputs.dry-run }}
with:
categories: ''
close-reason: 'OUTDATED'
close-unanswered: 'false'
days-before-close: '${{ env.DAYS_BEFORE_CLOSE}}'
dry-run: ${{ env.DRY_RUN }}
exempt-labels: 'documentation gap'
message: >-
This discussion was automatically closed because it has been inactive for ${{ env.DAYS_BEFORE_CLOSE}} days without an accepted answer.
If the topic is still relevant, please feel free to reopen the discussion and add some more context or detail.
close-stale-answers:
runs-on: ubuntu-latest
steps:
- name: stalesweeper
uses: zenoprax/stalesweeper@v1.1.2
env:
DAYS_BEFORE_CLOSE: ${{ github.event_name == 'schedule' && '90' || github.event.inputs.days-before-close }}
DRY_RUN: ${{ github.event_name == 'schedule' && 'false' || github.event.inputs.dry-run }}
with:
categories: 'Q&A'
close-reason: 'RESOLVED'
close-unanswered: 'true'
days-before-close: '${{ env.DAYS_BEFORE_CLOSE}}'
dry-run: ${{ env.DRY_RUN }}
exempt-labels: 'documentation gap'
message: >-
This discussion was automatically closed because it was answered but has had no further activity in ${{ env.DAYS_BEFORE_CLOSE}} days.
If the topic is still relevant, please feel free to reopen the discussion and add some more context or detail.