Skip to content

Commit

Permalink
migrate common config to etc
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Feb 1, 2024
1 parent c18627b commit e9817aa
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 63 deletions.
61 changes: 0 additions & 61 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -1,61 +0,0 @@
# https://raw.githubusercontent.com/EndBug/labels/main/labels.yml

- name: "bug"
color: "d73a4a"
description: "Something isn't working"

- 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"
aliases: ["keep alive"]

- name: "project proposal"
color: "d876e3"
description: "project proposal for interns and GSoC students"

- 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"
aliases: ["Stale"]

- name: "stale closed"
color: "444444"
description: "Issue was closed automatically due to inactivity"
aliases: ["stale-closed"]

- name: "won't fix"
color: "ffffff"
description: "This will not be worked on"
aliases: ["wontfix"]
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: EndBug/label-sync@v2
with:
config-file: |
https://raw.githubusercontent.com/biocommons/.github/main/.github/labels.yml
https://raw.githubusercontent.com/biocommons/.github/main/etc/labels.yml
.github/labels.yml
delete-other-labels: false
Expand Down
9 changes: 8 additions & 1 deletion archive/notes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## Inspiration

https://axolo.co/blog/p/part-3-github-pull-request-template
https://raw.githubusercontent.com/EndBug/labels/main/labels.yml


# Command lines

D=$(ls -1d */.git | cut -d/ -f1 | egrep -v 'biocommons.example|seqrepo-rs')
git-all () { for d in $D; do (set -x; git -C $d "$@"); done }

Expand All @@ -7,4 +15,3 @@ for d in $D; do \cp -a biocommons.example/.github/workflows/labels.yml $d/.githu
git-all add .github/labels.yml .github/workflows/labels.yml
git-all com -m "add standardized github labels and update action" .github/labels.yml .github/workflows/labels.yml
git-all push
https://axolo.co/blog/p/part-3-github-pull-request-template
61 changes: 61 additions & 0 deletions etc/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Global biocommons labels

- name: "bug"
color: "d73a4a"
description: "Something isn't working"

- 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"
aliases: ["keep alive"]

- name: "project proposal"
color: "d876e3"
description: "project proposal for interns and GSoC students"

- 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"
aliases: ["Stale"]

- name: "stale closed"
color: "444444"
description: "Issue was closed automatically due to inactivity"
aliases: ["stale-closed"]

- name: "won't fix"
color: "ffffff"
description: "This will not be worked on"
aliases: ["wontfix"]

0 comments on commit e9817aa

Please sign in to comment.