diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..a070a391 --- /dev/null +++ b/.github/labels.yml @@ -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 diff --git a/.github/settings.yml b/.github/settings.yml deleted file mode 100644 index 4a461f6b..00000000 --- a/.github/settings.yml +++ /dev/null @@ -1,29 +0,0 @@ -# Labels: define labels for Issues and Pull Requests -labels: - - 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 diff --git a/.github/workflows/assign-pr.yml b/.github/workflows/assign-pr.yml index 174a2f61..0c9e3980 100644 --- a/.github/workflows/assign-pr.yml +++ b/.github/workflows/assign-pr.yml @@ -1,4 +1,4 @@ -name: 'Auto Assign' +name: 'Auto Assign PR' on: pull_request: diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml new file mode 100644 index 00000000..1e4dc6c1 --- /dev/null +++ b/.github/workflows/sync-labels.yml @@ -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