|
- #
- # Licensed to the Apache Software Foundation (ASF) under one or more
- # contributor license agreements. See the NOTICE file distributed with
- # this work for additional information regarding copyright ownership.
- # The ASF licenses this file to You under the Apache License, Version 2.0
- # (the "License"); you may not use this file except in compliance with
- # the License. You may obtain a copy of the License at
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- #
-
-
- # https://github.com/actions/stale
- name: 'close the stale content'
- on:
- schedule:
- - cron: '0 0 * * *'
- permissions:
- pull-requests: write
- issues: write
- jobs:
- stale:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/stale@v4
- with:
- #never automatically stale issues
- days-before-issue-stale: -1
- #never automatically close issues
- days-before-issue-close: -1
- exempt-issue-labels: 'feature'
- stale-issue-message: >
- This issue has not been active for the past 4 weeks, so we will automatically close this issue after 7 days
- close-issue-message: >
- This issue has not been active for the past 5 weeks, so we are closing it now
-
- #never automatically stale pr
- days-before-pr-stale: -1
- #never automatically close pr
- days-before-pr-close: -1
- stale-pr-message: >
- This PR has not been active for the past 12 weeks, so we will automatically close this issue after seven days
- close-pr-message: >
- This PR has not had any activity for the past 13 weeks, so we are now closing it down
|