Skip to content

Commit

Permalink
synchronize labeler and stale actions config with biocommons.example
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Nov 27, 2023
1 parent 07a4fb5 commit 8b19398
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 10 deletions.
22 changes: 21 additions & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,30 @@
color: "e4e669"
description: "This doesn't seem right"

- name: "keep alive"
color: "666666"
description: "exempt issue from staleness checks"
from_name: "keep alive"

- name: "question"
color: "d876e3"
description: "Further information is requested"

- name: "wontfix"
- name: "rfc"
color: "d876e3"
description: "Request for comments"

- name: "stale"
color: "777777"
description: "Issue is stale and subject to automatic closing"
from_name: "Stale"

- name: "stale closed"
color: "444444"
description: "Issue was closed automatically due to inactivity"
from_name: "stale-closed"

- name: "won't fix"
color: "ffffff"
description: "This will not be worked on"
from_name: wontfix
3 changes: 0 additions & 3 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
exclude: |
help*
*issue
17 changes: 11 additions & 6 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ jobs:
steps:
- uses: actions/stale@v8
with:
days-before-issue-stale: 30
days-before-issue-close: 7
exempt-draft-pr: true
exempt-issue-labels: bug,keep-alive
exempt-pr-labels: bug,keep-alive

days-before-close: 7
days-before-stale: 30

stale-issue-label: stale
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-label: closed-by-stale
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'

days-before-pr-stale: 30
days-before-pr-close: 7
stale-pr-label: stale
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-pr-label: closed-by-stale
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'

exempt-all-pr-assignees: true

0 comments on commit 8b19398

Please sign in to comment.