stale #32
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
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: stale | |
on: | |
schedule: | |
# Run weekly on Saturdays | |
- cron: "30 1 * * 6" | |
# Run the workflow manually | |
workflow_dispatch: | |
# Declare default permissions as read-only | |
permissions: read-all | |
jobs: | |
mark-stale: | |
# Call reusable workflow file | |
uses: cisco-ospo/.github/.github/workflows/_stale.yml@main | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
with: | |
days-until-stale: 60 | |
days-until-close: 7 | |
stale-label: "stale" | |
exempt-label: "keep" |