Browse Source

[ENH] add labeler

tags/v0.3.2
bxdd 2 years ago
parent
commit
779fe38ff9
3 changed files with 22 additions and 1 deletions
  1. +6
    -0
      .github/labeler.yml
  2. +1
    -1
      .github/release-drafter.yml
  3. +15
    -0
      .github/workflows/labeler.yml

+ 6
- 0
.github/labeler.yml View File

@@ -0,0 +1,6 @@
documentation:
- 'docs/**/*'
- '**/*.md'

pending:
- any: ['**/*', '!docs/**/*', '!**/*.md']

+ 1
- 1
.github/release-drafter.yml View File

@@ -1,4 +1,4 @@
name-template: 'v$RESOLVED_VERSION 🌈'
name-template: 'v$RESOLVED_VERSION \U0001F308'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '\U0001F680 New Feature'


+ 15
- 0
.github/workflows/labeler.yml View File

@@ -0,0 +1,15 @@
name: "Add label automatically"
on:
- pull_request_target

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

Loading…
Cancel
Save