Skip to content

Commit 737aa7f

Browse files
authored
Merge pull request #62 from hsf-training/update-config-file-stale-bot
Update stale bot configuration
2 parents 5bd9fd6 + e5c24a3 commit 737aa7f

File tree

4 files changed

+105
-5
lines changed

4 files changed

+105
-5
lines changed

.github/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# === IMPORTANT: CENTRALLY MAINTAINED FILE ===
2+
# This file was automatically added via the scripts at the maintenance repository.
3+
# Please do not change it. Rather, update the blueprint in the maintenance repository and propagate
4+
# the changes from there.
5+
# IF YOU REALLY WANT TO MAKE REPOSITORY SPECIFIC CHANGES TO THIS FILE, PLEASE REMOVE THIS NOTICE!
6+
# Tag @klieret for any questions.
7+
# ======
8+
9+
# Configuration for welcome - https://github.com/behaviorbot/welcome
10+
11+
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
12+
13+
# Comment to be posted to on first time issues
14+
newIssueWelcomeComment: >
15+
Thanks for opening your first issue here 💖! If you have any questions, feel free to mention one of the conveners, previous contributors, or attend our weekly meeting (see https://hepsoftwarefoundation.org/workinggroups/training.html). Also, sometimes issues go unnoticed, so don't hesitate to @mention some of us, if we do not come back to you within a few days.
16+
17+
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
18+
19+
# Comment to be posted to on PRs from first time contributors in your repository
20+
newPRWelcomeComment: >
21+
Thanks for opening your first pull request here 🚀! If you have any questions, feel free to mention one of the conveners, previous contributors, or attend our weekly meeting (see
22+
[our homepage](https://hepsoftwarefoundation.org/workinggroups/training.html)). Also, sometimes PRs go unnoticed, so don't hesitate to @mention some of us, if we do not come back to you within a few days.
23+
24+
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
25+
26+
# Comment to be posted to on pull requests merged by a first time user
27+
firstPRMergeComment: >
28+
Congrats on merging your first pull request 🎉! We greatly appreciate it.
29+
30+
You might be eligible to be added to the [HSF Training Community](https://hepsoftwarefoundation.org/training/community_by_year) page (see the instructions on the page for how to create a profile). If you already have created a profile previously, make sure you're also added to the current year.
31+
If this repository features a list of contributors at the bottom of the readme, you might also be eligible to add yourself there.

.github/stale.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# === IMPORTANT: CENTRALLY MAINTAINED FILE ===
2+
# This file was automatically added via the scripts at the maintenance repository.
3+
# Please do not change it. Rather, update the blueprint in the maintenance repository and propagate
4+
# the changes from there.
5+
# IF YOU REALLY WANT TO MAKE REPOSITORY SPECIFIC CHANGES TO THIS FILE, PLEASE REMOVE THIS NOTICE!
6+
# Tag @michmx for any questions.
7+
# ======
8+
9+
# Configuration for probot-stale - https://github.com/probot/stale
10+
11+
# Number of days of inactivity before an Issue or Pull Request becomes stale
12+
daysUntilStale: 60
13+
14+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
15+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
16+
daysUntilClose: false
17+
18+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
19+
onlyLabels: []
20+
21+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
22+
exemptLabels:
23+
- pinned
24+
- security
25+
- "[Status] Maybe Later"
26+
27+
# Set to true to ignore issues in a project (defaults to false)
28+
exemptProjects: false
29+
30+
# Set to true to ignore issues in a milestone (defaults to false)
31+
exemptMilestones: false
32+
33+
# Set to true to ignore issues with an assignee (defaults to false)
34+
exemptAssignees: false
35+
36+
# Label to use when marking as stale
37+
staleLabel: stale
38+
39+
# Comment to post when marking as stale. Set to `false` to disable
40+
markComment: >
41+
This issue or pull request has been automatically marked as stale because it has not had
42+
recent activity. Please manually close it, if it is no longer relevant,
43+
or ask for help or support to help getting it unstuck.
44+
Let me bring this to the attention of @amorenobr @vlukashenko @richa2710 @michmx for now.
45+
46+
# Comment to post when removing the stale label.
47+
# unmarkComment: >
48+
# Your comment here.
49+
50+
# Comment to post when closing a stale Issue or Pull Request.
51+
# closeComment: >
52+
# Your comment here.
53+
54+
# Limit the number of actions per hour, from 1-30. Default is 30
55+
limitPerRun: 30
56+
# Limit to only `issues` or `pulls`
57+
# only: issues
58+
59+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
60+
# pulls:
61+
# daysUntilStale: 30
62+
# markComment: >
63+
# This pull request has been automatically marked as stale because it has not had
64+
# recent activity. It will be closed if no further activity occurs. Thank you
65+
# for your contributions.
66+
67+
# issues:
68+
# exemptLabels:
69+
# - confirmed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ci:
1111

1212
repos:
1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v5.0.0
14+
rev: v4.4.0
1515
hooks:
1616
- id: check-added-large-files
1717
- id: check-case-conflict
@@ -25,7 +25,7 @@ repos:
2525
files: ^(_episodes|code|README.md|setup.md)
2626

2727
- repo: https://github.com/codespell-project/codespell
28-
rev: "v2.4.1"
28+
rev: "v2.2.2"
2929
hooks:
3030
- id: codespell
3131
args: ["-I", "codespell.txt"]

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ agrees to abide by our [code of conduct](CODE_OF_CONDUCT.md).
2222
The easiest way to get started is to file an issue
2323
to tell us about a mistake,
2424
some awkward wording,
25-
a factual error.
25+
or a factual error.
2626
This is a good way to introduce yourself
2727
and to meet some of our community members.
2828

@@ -49,12 +49,12 @@ There are many ways to contribute,
4949
from writing new exercises and improving existing ones
5050
to updating or filling in the documentation
5151
and submitting [bug reports][issues]
52-
about things that do not work, aren not clear, or are missing.
52+
about things that do not work, are not clear, or are missing.
5353
If you are looking for ideas, please see the 'Issues' tab for
5454
a list of issues associated with this repository,
5555
or you may also look at all issues in [hsf-training][hsf-training-issues]
5656

57-
There is also [a list][hsf-training-gfis] of all issues that are particularly easy and suitable
57+
There is also [a list](hsf-training-gfis) of all issues that are particularly easy and suitable
5858
for first contributions.
5959

6060
Comments on issues and reviews of pull requests are just as welcome:

0 commit comments

Comments
 (0)