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

committed by
GitHub

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