Skip to content

Commit

Permalink
chore(CI): Update Labeler (#8607)
Browse files Browse the repository at this point in the history
## Problem

Labeler needs update and cover more places.

## Solution

Edit the CI configs.
  • Loading branch information
MichelDiz authored Feb 15, 2023
1 parent 2908651 commit c5da9f7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 10 deletions.
37 changes: 31 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
area/graphql:
- graphql/**/*
- wiki/content/graphql/**/*
area/documentation :
- wiki/content/**/*
area/documentation:
- "**/*.md"
- "**/*.pdf"
- "**/*.tex"
area/bulk-loader:
- dgraph/cmd/bulk/**/*
area/live-loader:
Expand All @@ -14,11 +15,35 @@ area/integrations:
- .github/**/*
- .travis/**/*
area/testing/jepsen:
- contrib/jepsen/**/*
area/commercial:
- contrib/jepsen/**/*
area/enterprise:
- ee/**/*
- wiki/content/enterprise-features/**/*
area/enterprise/backup:
- ee/backup/**/*
area/enterprise/acl:
- ee/acl/**/*
area/schema:
- schema/**/*
area/testing:
- systest/**/*
- "**/*test.go"
- graphql/e2e/**/*
- "**/*test.yaml"
- t/**/*
- testutil/**/*
- tlstest/**/*
area/core:
- protos/**/*
- posting/**/*
- raftwal/**/*
- query/**/*
- schema/**/*
- protos/**/*
- x/**/*
- xidmap/**/*
- worker/**/*
- graphql/**/*
go:
- "**/*.go"
python:
- "**/*.py"
11 changes: 7 additions & 4 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ on:
pull_request:
branches:
- main
- 'release/**'
- "release/v**"
types: [opened]
jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit c5da9f7

Please sign in to comment.