Skip to content

Commit

Permalink
use the official action from actions/labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
dndx committed Dec 14, 2023
1 parent e00e586 commit 0edb81e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 25 deletions.
8 changes: 4 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ core/db/migrations:

core/db:
- changed-files:
- any-glob-to-any-file: ['kong/db/**/*', '!kong/db/migrations/**/*']
- all-globs-to-any-file: ['kong/db/**/*', '!kong/db/migrations/**/*']

changelog:
- changed-files:
- any-glob-to-any-file: CHANGELOG.md

core/docs:
- changed-files:
- any-glob-to-any-file:['**/*.md', '!CHANGELOG.md']
- all-globs-to-any-file: ['**/*.md', '!CHANGELOG.md']

autodoc:
- changed-files:
Expand All @@ -56,11 +56,11 @@ core/logs:

core/pdk:
- changed-files:
- any-glob-to-any-file: ['kong/pdk/**/*', '!kong/pdk/log.lua']
- all-globs-to-any-file: ['kong/pdk/**/*', '!kong/pdk/log.lua']

core/proxy:
- changed-files:
- any-glob-to-any-file: ['kong/runloop/**/*', '!kong/runloop/balancer/*', '!kong/runloop/plugin_servers/*']
- all-globs-to-any-file: ['kong/runloop/**/*', '!kong/runloop/balancer/*', '!kong/runloop/plugin_servers/*']

core/router:
- changed-files:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/label.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit 0edb81e

Please sign in to comment.