fix: ci error [skip ci] (#4280)
parent
05a52b0540
commit
c1dfbc1ebf
|
@ -1,16 +0,0 @@
|
||||||
# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
|
|
||||||
feature:
|
|
||||||
- head-branch: ["^feat", "feat"]
|
|
||||||
|
|
||||||
bug:
|
|
||||||
- head-branch: ["^fix", "fix"]
|
|
||||||
|
|
||||||
chore:
|
|
||||||
- head-branch: ["^chore", "chore"]
|
|
||||||
|
|
||||||
perf:
|
|
||||||
- head-branch: ["^perf", "perf"]
|
|
||||||
|
|
||||||
documentation:
|
|
||||||
- changed-files:
|
|
||||||
- any-glob-to-any-file: ["**/*.md", "docs/**"]
|
|
|
@ -1,22 +0,0 @@
|
||||||
name: PR Labeler
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types: [opened, edited, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
label:
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, '[skip ci]')
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Label PR based on title or file changes
|
|
||||||
uses: actions/labeler@v5
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
configuration-path: .github/labeler.yml
|
|
Loading…
Reference in New Issue