Merge pull request #23 from embano1/issue-7

This commit is contained in:
Michael Gasch 2021-04-27 18:20:40 +02:00 committed by GitHub
commit 94759a423b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

36
.github/workflows/ps-sdk-stale.yaml vendored Normal file
View File

@ -0,0 +1,36 @@
# **************************************************************************
# Copyright (c) Cloud Native Foundation.
# SPDX-License-Identifier: Apache-2.0
# **************************************************************************
name: Close Stale
on:
schedule:
- cron: "0 1 * * *" # daily
jobs:
stale:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/stale@v3"
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
stale-issue-message: |-
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
stale-issue-label: "lifecycle/stale"
exempt-issue-labels: "lifecycle/frozen"
stale-pr-message: |-
This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment `/remove-lifecycle stale`.
stale-pr-label: "lifecycle/stale"
exempt-pr-labels: "lifecycle/frozen"
days-before-stale: 90
days-before-close: 30