Skip to content

Commit

Permalink
Merge pull request #42 from matagus/github-labels-management-and-sync
Browse files Browse the repository at this point in the history
GitHub labels management and sync
  • Loading branch information
matagus authored Mar 19, 2024
2 parents 8b55a40 + daa234c commit 4d92307
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 0 deletions.
149 changes: 149 additions & 0 deletions .github/labels.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
[accessibility]
color = "687DEA"
name = "accessibility"
description = "Accessibility issues"

[admin]
color = "2E6BAB"
name = "admin"
description = "Admin related issue"

["blocked/needs-investigation"]
color = "BD134F"
name = "blocked/needs-investigation"
description = "This is blocked: it needs investigation"

["blocked/user-responsee"]
color = "3C0113"
name = "blocked/user-responsee"
description = "Blocked: this issue is waiting for user response"

[breaking]
color = "EF24EB"
name = "breaking"
description = "This is a breaking change"

[bug]
color = "d73a4a"
name = "bug"
description = "Something isn't working"

["code quality"]
color = "4D8FA9"
name = "code quality"
description = "Code Quality"

["could not reproduce"]
color = "E4B665"
name = "could not reproduce"
description = "Could not reproduce"

[dependencies]
color = "D7AFA0"
name = "dependencies"
description = "Dependencies"

[documentation]
color = "0075ca"
name = "documentation"
description = "Improvements or additions to documentation"

[duplicate]
color = "cfd3d7"
name = "duplicate"
description = "This issue or pull request already exists"

[enhancement]
color = "a2eeef"
name = "enhancement"
description = "New feature or request"

[epic]
color = "4471DE"
name = "epic"
description = "This is an Epic"

["feature request"]
color = "AF6601"
name = "feature request"
description = "Feature Requests"

[github-actions]
color = "595E8A"
name = "github-actions"
description = "Github Actions"

["good first issue"]
color = "2AF655"
name = "good first issue"
description = "Good for newcomers"

["help wanted"]
color = "008672"
name = "help wanted"
description = "Extra attention is needed"

[i18n]
color = "1D3BFB"
name = "i18n"
description = "Internacionalization and translations"

[implemented]
color = "071BB8"
name = "implemented"
description = "This has already been implemented"

[invalid]
color = "e4e669"
name = "invalid"
description = "This doesn't seem right"

[non-code-contribution]
color = "63B6DA"
name = "non-code-contribution"
description = "Contributions that doesn't involve programming"

[nonchangelog]
color = "9A9D37"
name = "nonchangelog"
description = "Ignore this issue when building the changelog"

["on hold"]
color = "A9221E"
name = "on hold"
description = "On Hold"

[question]
color = "d876e3"
name = "question"
description = "Further information is requested"

[security]
color = "B1661C"
name = "security"
description = "Security related issue"

[stale]
color = "FD622F"
name = "stale"
description = "Stale issues"

[tests]
color = "E2AC68"
name = "tests"
description = "Issue about a test"

[ux]
color = "AACC48"
name = "ux"
description = "User Experience related issues"

[wip]
color = "5B8E1C"
name = "wip"
description = "Work in progress"

[wontfix]
color = "ffffff"
name = "wontfix"
description = "This will not be worked on"
22 changes: 22 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Sync Github labels

on:
push:
branches:
- main
paths:
- ".github/**"

jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install labels
run: pip install labels
- name: Sync config with Github
run: labels -u ${{ github.repository_owner }} -t ${{ secrets.GITHUB_TOKEN }} sync -f .github/labels.toml
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
django-generic-links
====================

![Python Compatibility](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue.svg) [![PyPi Version](https://img.shields.io/pypi/v/django-generic-links.svg)](https://pypi.python.org/pypi/django-generic-links) ![CI badge](https://github.com/matagus/django-generic-links/actions/workflows/ci.yml/badge.svg) [![codecov](https://codecov.io/gh/matagus/django-generic-links/graph/badge.svg?token=a64SxEDQk0)](https://codecov.io/gh/matagus/django-generic-links) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
![Python Compatibility](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue.svg) [![PyPi Version](https://img.shields.io/pypi/v/django-generic-links.svg)](https://pypi.python.org/pypi/django-generic-links) ![CI badge](https://github.com/matagus/django-generic-links/actions/workflows/ci.yml/badge.svg) [![codecov](https://codecov.io/gh/matagus/django-generic-links/graph/badge.svg?token=a64SxEDQk0)](https://codecov.io/gh/matagus/django-generic-links) [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

Simple app to attach links to any Django model. Compatible with Django 4.x to 5.0 and Python 3.9 to 3.12.
Expand Down

0 comments on commit 4d92307

Please sign in to comment.