Files
stale/action.yml
2026-03-08 02:01:13 +00:00

57 lines
1.7 KiB
YAML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: 'Close Stale Issues/PRs (No-Op for Gitea)'
description: 'No-op stale issue/PR management for Gitea'
author: 'actions-mirror'
inputs:
repo-token:
description: 'PAT token'
required: false
stale-issue-message:
description: 'Message to post on stale issues'
required: false
stale-pr-message:
description: 'Message to post on stale PRs'
required: false
close-issue-message:
description: 'Message before closing stale issue'
required: false
close-pr-message:
description: 'Message before closing stale PR'
required: false
days-before-stale:
description: 'Days before marking stale'
required: false
default: '60'
days-before-close:
description: 'Days before closing after stale'
required: false
default: '7'
stale-issue-label:
description: 'Label for stale issues'
required: false
default: 'stale'
stale-pr-label:
description: 'Label for stale PRs'
required: false
default: 'stale'
exempt-issue-labels:
description: 'Labels that exempt from stale'
required: false
exempt-pr-labels:
description: 'PR labels that exempt from stale'
required: false
runs:
using: 'composite'
steps:
- name: Stale action skipped
shell: bash
run: |
echo " Stale issue/PR management skipped on Gitea (using no-op override)"
echo " This action is designed for GitHub's issue system"
echo ""
echo " 💡 Alternative: Implement custom stale bot using Gitea API"
echo " - Query issues/PRs via /api/v1/repos/{owner}/{repo}/issues"
echo " - Check updated_at field for staleness"
echo " - Use API to add labels and comments"