mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
Most of the official actions move one or more majors, onto the Node 24 runtime. The inputs these workflows pass are still accepted, and the contract tests that pin the checkout and App token commits follow. Since checkout v6 the persisted token lives in a separate config file, so unsetting the extra header in .git/config no longer removes it. The release job's checkout stops persisting credentials, so its staging branch push goes out with the App token, and a contract test guards that setting. The flux action stays on v2.8.6, whose tag has to equal the Flux CLI version it installs. A self-hosted runner needs v2.327.1 or newer for the Node 24 checkout, which the Proxmox workflow now states next to its runs-on. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
59 lines
2.3 KiB
YAML
59 lines
2.3 KiB
YAML
name: Stale issues
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '37 4 * * *' # daily at 04:37 UTC
|
|
workflow_dispatch:
|
|
|
|
# Top-level token defaults to read-only. A job-level block replaces this one
|
|
# rather than adding to it, so each job restates every scope it needs.
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: stale
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
|
|
with:
|
|
stale-issue-label: lifecycle/stale
|
|
stale-pr-label: lifecycle/stale
|
|
close-issue-label: lifecycle/rotten
|
|
close-pr-label: lifecycle/rotten
|
|
# Exempt lists differ on purpose: issues sit longer than PRs by nature.
|
|
# An accepted issue (`triage/accepted`) is a known long-tail task, not stale;
|
|
# a held PR (`do-not-merge/hold`) is paused intentionally and shouldn't auto-close.
|
|
# Priority/security/regression labels protect issues that someone explicitly
|
|
# decided to keep visible.
|
|
exempt-issue-labels: >-
|
|
lifecycle/frozen,epic,
|
|
priority/critical-urgent,priority/important-soon,priority/important-longterm,
|
|
security/critical,security/high,security/confirmed,
|
|
security/triage-needed,security/in-progress,
|
|
triage/accepted,kind/regression
|
|
exempt-pr-labels: >-
|
|
lifecycle/frozen,do-not-merge/hold
|
|
days-before-stale: 60
|
|
days-before-close: 14
|
|
operations-per-run: 100
|
|
remove-stale-when-updated: true
|
|
stale-issue-message: |
|
|
This issue has had no activity for 60 days and was marked `lifecycle/stale`.
|
|
It will be closed in 14 days unless commented or labelled `lifecycle/frozen`.
|
|
stale-pr-message: |
|
|
This PR has had no activity for 60 days and was marked `lifecycle/stale`.
|
|
It will be closed in 14 days unless commented or labelled `lifecycle/frozen`.
|
|
close-issue-message: |
|
|
Closed because no activity followed the `lifecycle/stale` warning.
|
|
Reopen if the issue is still relevant.
|
|
close-pr-message: |
|
|
Closed because no activity followed the `lifecycle/stale` warning.
|
|
Reopen if the change is still wanted.
|