Skip to content

Commit

Permalink
Merge branch 'main' into 3-add-ruff-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored May 20, 2024
2 parents 38bc37f + 4814cd7 commit 130c103
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @reece
* @biocommons/maintainers
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.

40 changes: 2 additions & 38 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,39 +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: "question"
color: "d876e3"
description: "Further information is requested"

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

- name: "wontfix"
color: "ffffff"
description: "This will not be worked on"
[]
31 changes: 17 additions & 14 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,26 +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
exclude: |
help*
*issue
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
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Python package

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:

jobs:
Expand Down
17 changes: 2 additions & 15 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +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:
days-before-issue-stale: 30
days-before-issue-close: 7
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-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-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-message: 'This PR was closed because it has been stalled for 7 days with no activity.'

exempt-all-pr-assignees: true
uses: biocommons/.github/.github/workflows/stale.yml@main

0 comments on commit 130c103

Please sign in to comment.