Stale Pull Requests #68
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
#=========================== begin_copyright_notice ============================ | |
# | |
# Copyright (C) 2021-2023 Intel Corporation | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
#============================ end_copyright_notice ============================= | |
name: Stale Pull Requests | |
on: | |
schedule: | |
- cron: '30 1 * * *' # run every day | |
workflow_dispatch: {} | |
jobs: | |
stale: | |
runs-on: [self-hosted, Linux] | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-pr-label: stale | |
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Make a comment or remove the "stale" label to avoid closing the PR after 7 days.' | |
close-pr-message: 'This PR was closed because it was flagged as "stale" for over 7 days with no activity.' | |
days-before-stale: 60 | |
days-before-close: 7 | |
operations-per-run: 2000 | |
delete-branch: true |