Skip to content

Commit

Permalink
Merge branch 'biocommons:main' into issue_722_babelfish_vcf_bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw authored Feb 7, 2024
2 parents d0d4025 + 4dffc46 commit ee78afc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 130 deletions.
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

56 changes: 2 additions & 54 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
- name: "bug"
color: "d73a4a"
description: "Something isn't working"
# file must contain an array, which may be empty

- name: "documentation"
color: "0075ca"
description: "Improvements or additions to documentation"

- name: "duplicate"
color: "cfd3d7"
description: "This issue or pull request already exists"

- name: "enhancement"
color: "a2eeef"
description: "New feature or request"

- name: "good first issue"
color: "7057ff"
description: "Good for newcomers"

- name: "help wanted"
color: "008672"
description: "Extra attention is needed"

- name: "invalid"
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: "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
[]
28 changes: 17 additions & 11 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
name: github

name: Sync labels
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/labels.yml'

permissions:
issues: write

jobs:
labeler:
labels:
runs-on: ubuntu-latest

steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v4
- uses: actions/checkout@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
sparse-checkout: .github/labels.yml

- uses: EndBug/label-sync@v2
with:
config-file: |
https://raw.githubusercontent.com/biocommons/.github/main/etc/labels.yml
.github/labels.yml
delete-other-labels: false
23 changes: 2 additions & 21 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,10 @@

name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '1 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
exempt-all-milestones: true
exempt-issue-labels: bug,keep-alive
exempt-pr-labels: bug,keep-alive

days-before-issue-close: 7
days-before-issue-stale: 90
stale-issue-label: stale
stale-issue-message: 'This issue is stale because it has been open 90 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-close: 7
days-before-pr-stale: 30
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.'
uses: biocommons/actions/.github/workflows/stale.yml@main

0 comments on commit ee78afc

Please sign in to comment.