👷 Update GitHub Action labeler to add only one label (#1304)
This commit is contained in:

committed by
GitHub

parent
0f082d1265
commit
de57a7bac1
12
.github/labeler.yml
vendored
12
.github/labeler.yml
vendored
@@ -1,12 +1,18 @@
|
||||
docs:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- all-globs-to-all-files:
|
||||
- '**/*.md'
|
||||
|
||||
internal:
|
||||
- all:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- .github/**/*
|
||||
- scripts/**/*
|
||||
- .github/**
|
||||
- scripts/**
|
||||
- .gitignore
|
||||
- .pre-commit-config.yaml
|
||||
- all-globs-to-all-files:
|
||||
- '**/*.md'
|
||||
- 'frontend/**'
|
||||
- 'backend/**'
|
||||
|
5
.github/workflows/labeler.yml
vendored
5
.github/workflows/labeler.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Pull Request Labeler and Checker
|
||||
name: Labels
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
@@ -17,13 +17,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
sync-labels: true
|
||||
# Run this after labeler applied labels
|
||||
check-labels:
|
||||
needs:
|
||||
- labeler
|
||||
permissions:
|
||||
pull-requests: read
|
||||
name: Check labels
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: docker://agilepathway/pull-request-label-checker:latest
|
||||
|
Reference in New Issue
Block a user