Skip to content

Commit

Permalink
chore: set up labels from rdmo repository (#12)
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
afuetterer authored Jul 12, 2024
1 parent 9f713bf commit 2687a58
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# GitHub labels are generated automatically with GitHub Labeler
# Ref: https://github.com/marketplace/actions/github-labeler

- name: help wanted
color: '159818'

# Dependencies
- name: dependencies
description: Pull requests that update a dependency file
color: 0366d6
- name: github_actions
description: Pull requests that update GitHub Actions code
color: '000000'
- name: python
description: Pull requests that update Python code
color: 2b67c6
- name: javascript
description: Pull requests that update Javascript code
color: '168700'
- name: pre-commit
color: ededed

# Effort
- name: effort:huge
color: '000000'
- name: effort:major
color: ff6700
- name: effort:minor
color: ffc100
- name: effort:moderate
color: ff9900

# Priority
- name: priority:critical
color: AE2609
- name: priority:high
color: 006b75
- name: priority:low
color: ffa500
- name: priority:medium
color: f9d0c4

# Status
- name: status:acceptance
color: 006b75
- name: status:agreed
color: BC58BB
- name: status:done
color: '30E440'
- name: status:hold
color: 0052cc
- name: status:wontfix
color: '666666'
- name: status:work-in-progress
color: 2943b5

# Type
- name: type:bug
color: fc2929
- name: type:documentation
color: 1d76db
- name: type:duplicate
color: cccccc
- name: type:feature-request
color: 84f20e
- name: type:maintenance
color: 5C7490
- name: type:plugin
color: F5F904
- name: type:question
color: cc317c
- name: type:support
color: 1d76db
25 changes: 25 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update Repository Labels

on:
push:
branches:
- main
paths:
- .github/labels.yml
- .github/workflows/labels.yml
workflow_dispatch: # run manually from actions tab

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {} # Set permissions at the job level

jobs:
update-labels:
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b # v5.0.0

0 comments on commit 2687a58

Please sign in to comment.