Skip to content

Commit

Permalink
Adds sync labels action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Nov 7, 2023
1 parent 87709f0 commit 0ebaedd
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 🏷 Sync labels
on:
workflow_dispatch:

permissions:
issues: write

jobs:
labels:
runs-on: ubuntu-latest

steps:
- uses: EndBug/label-sync@v2
with:
config-file: https://raw.githubusercontent.com/WGBH-MLA/.github/main/.github/workflows/pytest.yml
delete-other-labels: false
dry-run: false
token: ${{ secrets.GITHUB_TOKEN }}
40 changes: 39 additions & 1 deletion labels.yml
Original file line number Diff line number Diff line change
@@ -1,82 +1,120 @@
# Using https://github.com/Financial-Times/github-label-sync
# Label Sync tools:

# https://github.com/Financial-Times/github-label-sync
# npm install -g github-label-sync
# export GITHUB_ACCESS_TOKEN=...
# github-label-sync --labels labels.yml ORG/REPO

# or

# https://github.com/marketplace/actions/label-sync
# Use "🏷 Sync labels" action from .github/workflows/labels.yml


# Bug
- aliases:
- bug
- 'bug :bug:'
name: bug 🐛
color: d73a4a

# CD
- aliases:
- CD
- 'CD :building_construction:'
name: CD 🏗️
description: Relating to Continuous Deployment
color: '732487'

# CI
- aliases:
- CI
- 'CI :test_tube:'
name: CI 🦾
description: Relating to Continuous Integration
color: E09B24

# Production
- aliases:
- production
name: production 🎭
description: Relating to the production deployment
color: 772b8d

# Test
- aliases:
- test
- test ⚗️
name: test 🧪
description: Tests and testing
color: 38C5D6

# Breaking
- aliases:
- breaking
- 'breaking :broken_heart:'
name: breaking 💔
description: Breaking changes
color: BF0212

# Documentation
- aliases:
- documentation
- 'documentation :scroll:'
name: documentation 📜
color: 0075ca

# Duplicate
- aliases:
- duplicate
- 'duplicate :gemini:'
name: duplicate ♊
color: cfd3d7

# Enhancement
- aliases:
- enhancement
- 'enhancement :heavy_plus_sign:'
name: enhancement ➕
color: a2eeef

# Good first issue
- aliases:
- good first issue
- 'good first issue :new_moon_with_face:'
name: good first issue 🌚
color: 7057ff

# Help wanted
- aliases:
- help wanted
- 'help wanted :information_source:'
name: help wanted ℹ️
color: '008672'

# Invalid
- aliases:
- invalid
- 'invalid :exclamation:'
name: invalid ❗
color: e4e669

# Maintenance
- aliases:
- maintenance
- 'maintenance :wrench:'
name: maintenance 🔧
description: Updates and upgrades
color: F87431

# Question
- aliases:
- question
- 'question :grey_question:'
name: question ❔
color: d876e3

# Won't fix
- aliases:
- wontfix
- 'wontfix :x:'
Expand Down

0 comments on commit 0ebaedd

Please sign in to comment.