Browse Source

👷 Update GitHub Action labeler to add only one label (#1304)

pull/13907/head
Sebastián Ramírez 12 months ago
committed by GitHub
parent
commit
de57a7bac1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 24
      .github/labeler.yml
  2. 5
      .github/workflows/labeler.yml

24
.github/labeler.yml

@ -1,12 +1,18 @@
docs:
- changed-files:
- any-glob-to-any-file:
- '**/*.md'
- all:
- changed-files:
- all-globs-to-all-files:
- '**/*.md'
internal:
- changed-files:
- any-glob-to-any-file:
- .github/**/*
- scripts/**/*
- .gitignore
- .pre-commit-config.yaml
- all:
- changed-files:
- any-glob-to-any-file:
- .github/**
- scripts/**
- .gitignore
- .pre-commit-config.yaml
- all-globs-to-all-files:
- '**/*.md'
- 'frontend/**'
- 'backend/**'

5
.github/workflows/labeler.yml

@ -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

Loading…
Cancel
Save