Skip to content

Commit

Permalink
add content
Browse files Browse the repository at this point in the history
  • Loading branch information
qiancai committed Aug 7, 2023
1 parent 3575f64 commit 435b3a8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
area/tidb-cloud:
- /tidb-cloud/**
- /media/tidb-cloud/**
28 changes: 28 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Pull Request Labeler"
on:
pull_request_target:
types:
- opened
- synchronize

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Git
run: git fetch origin ${{ github.event.pull_request.head.ref }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Label Pull Request
uses: actions/labeler@v4
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
configuration-path: .github/labeler.yml
sync-labels: true
dot: true

0 comments on commit 435b3a8

Please sign in to comment.