Mark stale issues and pull requests #885
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 Contributors to the ODPi Egeria project. | |
--- | |
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
if: ${{ github.repository == 'odpi/egeria-connector-integration-topic-strimzi'}} | |
runs-on: ubuntu-latest | |
steps: | |
- name: check stale issues and prs | |
if: startsWith(github.repository,'odpi/') | |
uses: actions/stale@v6 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has | |
not had recent activity. It will be closed in 20 days if no | |
further activity occurs. Thank you for your contributions. | |
stale-pr-message: > | |
This PR has been automatically marked as stale because it has not | |
had recent activity. It will be closed in 20 days if no further | |
activity occurs. Thank you for your contributions. | |
stale-issue-label: 'no-issue-activity' | |
stale-pr-label: 'no-pr-activity' | |
days-before-stale: 60 | |
days-before-close: 20 | |
exempt-issue-label: 'pinned' | |
exempt-pr-label: 'pinned' | |
operations-per-run: 30 |