Stale #788
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 | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Eclipse Public License 2.0 which is available at | |
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 | |
# which is available at https://www.apache.org/licenses/LICENSE-2.0. | |
# | |
# SPDX-License-Identifier: (EPL-2.0 OR 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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Stale Action | |
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
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/eclipse/transformer/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. |