mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
GitHub labeler configuration changes (#7393)
* GitHub labeler configuration changes * Delete main.workflow * Create labeler.yml * Create workflows/labeler.yml
This commit is contained in:
parent
36c1f9aa82
commit
1c02fed19b
2
.github/label-pr.yml
vendored
2
.github/label-pr.yml
vendored
@ -1,2 +0,0 @@
|
||||
- regExp: ".*\\.md$"
|
||||
labels: ["documentation", "pr-documentation"]
|
5
.github/labeler.yml
vendored
Normal file
5
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Documentation PRs
|
||||
documentation:
|
||||
- **/*.md
|
||||
pr-documentation:
|
||||
- **/*.md
|
9
.github/main.workflow
vendored
9
.github/main.workflow
vendored
@ -1,9 +0,0 @@
|
||||
workflow "Main workflow" {
|
||||
resolves = ["Label PR"]
|
||||
on = "pull_request"
|
||||
}
|
||||
|
||||
action "Label PR" {
|
||||
uses = "decathlon/pull-request-labeler-action@v1.0.0"
|
||||
secrets = ["GITHUB_TOKEN"]
|
||||
}
|
11
.github/workflows/labeler.yml
vendored
Normal file
11
.github/workflows/labeler.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in New Issue
Block a user