Skip to content

Mark stale issues and pull requests #445

Mark stale issues and pull requests

Mark stale issues and pull requests #445

Workflow file for this run

# 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 * * *"
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
if: startsWith(github.repository,'odpi/')
steps:
- name: check stale issues and prs
if: startsWith(github.repository,'odpi/')
uses: actions/stale@v9
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-labels: 'pinned'
exempt-pr-labels: 'pinned'
operations-per-run: 30