Skip to content

Workflow - Daily Maintenance #245

Workflow - Daily Maintenance

Workflow - Daily Maintenance #245

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/github-workflow.json
name: Workflow - Daily Maintenance
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
stale_issues:
name: 🧹 Clean up stale issues and PRs
if: ${{ github.repository_owner == 'madara-alliance' || github.event_name != 'schedule' }}
runs-on: blacksmith-16vcpu-ubuntu-2204
steps:
- name: 🚀 Run stale
uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale"
exempt-issue-labels: "no-stale,help-wanted"
stale-issue-message: >
There hasn't been any activity on this issue recently, and in order
to prioritize active issues, it will be marked as stale.
Please make sure to update to the latest version and check if that
solves the issue. Let us know if that works for you by leaving a 👍
Because this issue is marked as stale, it will be closed and locked
in 7 days if no further activity occurs.
Thank you for your contributions!
stale-pr-label: "stale"
exempt-pr-labels: "no-stale"
stale-pr-message: >
There hasn't been any activity on this pull request recently, and in
order to prioritize active work, it has been marked as stale.
This PR will be closed and locked in 7 days if no further activity
occurs.
Thank you for your contributions!