Label new PR's (#2653)
* Create labeler.yml * Create label-pr.yml * updated condition of labeling pr * add dependecies label for dependecies files
This commit is contained in:
parent
dc2cc746cf
commit
83429b1587
|
@ -0,0 +1,19 @@
|
|||
'PR: waiting for review':
|
||||
- '*'
|
||||
- '.babelrc'
|
||||
- '.editorconfig'
|
||||
- '.eslintignore'
|
||||
- '.eslintrc.js'
|
||||
- '.gitignore'
|
||||
- '.prettierrc'
|
||||
- '.whitesource'
|
||||
- '.github/**/*'
|
||||
- '.vscode/**/*'
|
||||
- '_icons/**/*'
|
||||
- '_scripts/**/*'
|
||||
- 'src/**/*'
|
||||
- 'static/**/*'
|
||||
|
||||
'PR: dependencies':
|
||||
- 'yarn.lock'
|
||||
- 'package.json'
|
|
@ -0,0 +1,15 @@
|
|||
name: "Pull Request Labeler"
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in New Issue