Stale issue/pr #267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2024 Intel Corporation | |
name: Stale issue/pr | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
env: | |
DAYS_BEFORE_STALE: 120 | |
DAYS_BEFORE_CLOSE: 15 | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue has been stale for ${{ env.DAYS_BEFORE_STALE }} days and will be closed in ${{ env.DAYS_BEFORE_CLOSE }} days. Comment to keep it open.' | |
stale-pr-message: 'This pull request has been stale for ${{ env.DAYS_BEFORE_STALE }} days and will be closed in ${{ env.DAYS_BEFORE_CLOSE }} days. Comment to keep it open.' | |
stale-issue-label: 'stale/issue' | |
stale-pr-label: 'stale/pr' | |
days-before-stale: ${{ env.DAYS_BEFORE_STALE }} | |
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }} |