Skip to content

Commit

Permalink
Remove PR labeler, use autolabeler (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Feb 19, 2021
1 parent 1c2fd2c commit a03fe28
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 19 deletions.
6 changes: 0 additions & 6 deletions .github/pr-labeler.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,35 @@ version-resolver:
default: patch
exclude-labels:
- 'skip-changelog'
autolabeler:
- label: 'documentation'
files:
- '*.md'
branch:
- '/docs{0,1}\/.+/'
- label: 'chore'
branch:
- '/chore\/.+/'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'feature'
branch:
- '/feat\/.+/'
- '/feature\/.+/'
- label: 'enhancement'
branch:
- '/enh\/.+/'
- '/enhancement\/.+/'
- label: 'dependencies'
files:
- 'go.mod'
- 'go.sum'
- 'vendor*'
branch:
- '/deps\/.+/'
template: |
## New in NGINX Plus Integration with Cloud Autoscaling v$RESOLVED_VERSION
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/pr-labeler.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@master
- uses: release-drafter/release-drafter@v5.14.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a03fe28

Please sign in to comment.