Skip to content

Commit

Permalink
Add labeler to release-2.3 (#3051)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Sep 16, 2022
1 parent 398c32e commit 53c6389
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 48 deletions.
22 changes: 22 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
enhancement:
- branch: ['feature/**', 'feat/**', 'enhancement/**', 'enh/**']

bug:
- branch: ['fix/**', 'bug/**']

chore:
- branch: ['chore/**']

tests:
- branch: ['tests/**', 'test/**']
- tests/**/*
- perf-tests/**/*

documentation:
- branch: ['docs/**', 'doc/**']
- '**/*.md'

dependencies:
- branch: ['deps/**', 'dep/**', 'dependabot/**']
- go.mod
- go.sum
33 changes: 0 additions & 33 deletions .github/release-drafter.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ changelog:
- title: ⬆️ Dependencies
labels:
- dependencies
- title: Other Changes
labels:
- "*"
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: joshdales/labeler@0861fa5accbc36878f85f40b98a9f40b15fe0429 # if https://github.com/actions/labeler/pull/203 is merged, use the official action actions/labeler
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
15 changes: 0 additions & 15 deletions .github/workflows/release-drafter-pr.yml

This file was deleted.

0 comments on commit 53c6389

Please sign in to comment.