Skip to content

Commit

Permalink
ci(SPV-992): add sync labels workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dorzepowski committed Aug 12, 2024
1 parent 2f0c65c commit b7ce737
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
- color: "0075ca"
description: "Improvements or additions to documentation"
name: "documentation"
- color: "b23128"
description: "Highest rated bug or issue, affects all"
name: "bug-P1"
- color: "de3d32"
description: "Medium rated bug, affects a few"
name: "bug-P2"
- color: "f44336"
description: "Lowest rated bug, affects nearly none or low-impact"
name: "bug-P3"
- color: "0e8a16"
description: "Any new significant addition"
name: "feature"
- color: "b60205"
description: "Urgent or important fix/patch"
name: "hot-fix"
- color: "cccccc"
description: "Any idea, suggestion or opinion"
name: "idea"
- color: "d4c5f9"
description: "Experimental - can break!"
name: "prototype"
- color: "cc317c"
description: "Any question or concern"
name: "question"
- color: "c2e0c6"
description: "Unit tests, mocking, integration testing"
name: "test"
- color: "fbca04"
description: "Anything GUI related"
name: "ui-ux"
- color: "006b75"
description: "Simple updates or version bumps"
name: "chore"
- color: "006b75"
description: "Dependency updates"
name: "dependencies"
- color: "006b75"
description: "General updates"
name: "update"
- color: "FFA500"
description: "Any significant refactoring"
name: "refactor"
- color: "FEF2C0"
description: "Used for automatic merging"
name: "automerge"
- color: "FBCA04"
description: "Used for denoting a WIP, stops auto-merge"
name: "work-in-progress"
- color: "c2e0c6"
description: "Old, unused, stale"
name: "stale"
- color: "50e061"
description: "PR was tested by a team member"
name: "tested"
20 changes: 20 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Workflow: https://github.com/micnncim/action-label-syncer
# Export your labels: https://github.com/micnncim/label-exporter
name: sync-labels
on:
push:
branches:
- master
- main
paths:
- .github/labels.yml
jobs:
sync-labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: micnncim/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml

0 comments on commit b7ce737

Please sign in to comment.