Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add stale gha #4268

Merged
merged 5 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Stale issues and pull-requests
on:
schedule:
- cron: 0 0 * * *

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# Idle number of days before marking issues/prs stale.
days-before-stale: 500

# Idle number of days before closing stale issues/prs.
days-before-close: 28

# Comment on the staled issues.
stale-issue-message: |
In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity.

If this issue is still important to you, then please comment on this issue or remove the stale label.

Otherwise this issue will be automatically closed in 28 days time.

# Comment on the staled prs.
stale-pr-message: |
In order to maintain a backlog of relevant PRs, we automatically label them as stale after 500 days of inactivity.

If this PR is still important to you, then please comment on this PR or remove the stale label.

Otherwise this PR will be automatically closed in 28 days time.

# Comment on the staled issues while closed.
close-issue-message: |
This stale issue has been automatically closed due to a lack of community activity.

If you still care about this issue, then please either:
* Re-open this issue, if you have sufficient permissions, or
* Add a comment pinging `@SciTools/iris-devs` who will re-open on your behalf.

# Comment on the staled prs while closed.
close-pr-message: |
This stale PR has been automatically closed due to a lack of community activity.

If you still care about this PR, then please either:
* Re-open this PR, if you have sufficient permissions, or
* Add a comment pinging `@SciTools/iris-devs` who will re-open on your behalf.

# Label to apply on staled issues.
stale-issue-label: Stale

# Label to apply on staled prs.
stale-pr-label: Stale

# Labels on issues exempted from stale.
exempt-issue-labels: |
"Status: Blocked,Status: Decision Required,Peloton 🚴‍️"

# Labels on prs exempted from stale.
exempt-pr-labels: |
"Status: Blocked,Status: Decision Required,Peloton 🚴‍"

# Remove stale label from issues/prs on updates/comments.
remove-stale-when-updated: true

# Exempt all issues/prs with milestones from stale.
exempt-all-milestones: true
2 changes: 1 addition & 1 deletion docs/src/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ need the Iris sample data. This can also be installed using conda::
conda install -c conda-forge iris-sample-data

Further documentation on using conda and the features it provides can be found
at https://conda.io/en/latest/index.html.
at https://docs.conda.io/projects/conda/en/latest/index.html.

.. _installing_from_source_without_conda:

Expand Down
2 changes: 1 addition & 1 deletion docs/src/whatsnew/1.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Documentation
* A chapter on :doc:`merge and concatenate </userguide/merge_and_concat>` has
been added to the :doc:`user guide </userguide/index>`.

* A section on installing Iris using `conda <http://conda.pydata.org/>`_ has
* A section on installing Iris using `conda <https://docs.conda.io/projects/conda/en/latest/index.html>`_ has
been added to the :doc:`install guide </installing>`.

* Updates to the chapter on
Expand Down