mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-03 02:10:49 +00:00
v9 is based on Node.js 20 which is deprecated, so update to the latest to pick up a Node.js 24 version before Github removes Node 20 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
28 lines
880 B
YAML
28 lines
880 B
YAML
name: 'Automatically close stale PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
stale:
|
|
name: stale
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
actions: write # Needed to manage caches for state persistence across runs
|
|
pull-requests: write # Needed to add/remove labels, post comments, or close PRs
|
|
steps:
|
|
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
|
|
with:
|
|
stale-pr-message: 'This PR has been opened without activity for 180 days. Please comment on the issue or it will be closed in 7 days.'
|
|
days-before-pr-stale: 180
|
|
days-before-pr-close: 7
|
|
days-before-issue-stale: -1
|
|
days-before-issue-close: -1
|