Skip to content

Commit

Permalink
Add action to synchronize labels using a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Apr 14, 2020
1 parent e80764c commit b8675df
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 30 deletions.
27 changes: 27 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
- name: bug
description: Bugs or performance problems
color: CC0000
- name: dependencies
description: Update of dependencies
color: 0366d6
- name: feature
color: a4c6fb
description: New features
- name: enhancement
description: Enhancement of existing functionality
color: 94a6eb
- name: deprecated
description: Deprecating API
color: f4c21d
- name: removed
description: Removing API
color: e4b21d
- name: tests
description: Enhancement of tests
color: 30cc62
- name: documentation
description: Enhancement of documentation
color: bfafea
- name: internal
description: Internal changes without user or API impact
color: e6e6e6
29 changes: 0 additions & 29 deletions .github/settings.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/assign-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Auto Assign'
name: 'Auto Assign PR'
on:
pull_request:

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync labels
on:
push:
branches:
- master
paths:
- .github/labels.yml

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml

0 comments on commit b8675df

Please sign in to comment.