Stale #381
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
#******************************************************************************* | |
# Copyright (c) Contributors to the Eclipse Foundation | |
# | |
# 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. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
#******************************************************************************* | |
name: Stale | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
env: | |
LC_ALL: en_US.UTF-8 | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
name: Stale | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Stale Action | |
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 | |
with: | |
days-before-stale: 365 | |
days-before-close: 21 | |
exempt-all-milestones: true | |
stale-issue-label: 'stale' | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had recent activity. | |
Given the limited bandwidth of the team, it will be automatically closed if no further | |
activity occurs. | |
If you feel this is something you could contribute, please have a look | |
at our [Contributor Guide](https://github.com/osgi/osgi-test/blob/main/CONTRIBUTING.md). | |
Thank you for your contribution. | |
close-issue-message: > | |
This issue has been automatically closed due to inactivity. If you can reproduce this or | |
if you have a good use case for this feature, please feel free | |
to reopen the issue with steps to reproduce, a quick explanation of your use case or a | |
high-quality pull request. | |
stale-pr-label: 'stale' | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it has not had recent activity. | |
Given the limited bandwidth of the team, it will be closed if no further activity occurs. | |
If you intend to work on this pull request, please reopen the PR. | |
Thank you for your contributions. | |
close-pr-message: > | |
This pull request has been automatically closed due to inactivity. | |
If you are still interested in contributing this, please ensure that | |
it is rebased against the latest `main` branch, all review | |
comments have been addressed and the build is passing. |