Skip to content

Repository maintenance scheduled tasks #8

Repository maintenance scheduled tasks

Repository maintenance scheduled tasks #8

# Copyright 2024 - GitHub user: fredericks1982
# Licensed 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.
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: 'Repository maintenance scheduled tasks'
on:
schedule:
- cron: '33 7 26 * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
discussions: write
concurrency:
group: project-maintenance-jobs
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Apply stale policy
uses: actions/stale@v9
with:
days-before-stale: 90
stale-issue-message: >
This item has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-pr-message: >
There hasn't been any activity on this item recently. This pull request has
been automatically marked as stale because of that and will be closed if no
further activity occurs. Thank you for contributions.