mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
4648532814
Co-authored-by: Alois Klink <alois@aloisklink.com>
31 lines
862 B
YAML
31 lines
862 B
YAML
name: Validate PR Labeler Configuration
|
|
on:
|
|
push:
|
|
paths:
|
|
- .github/workflows/pr-labeler-config-validator.yml
|
|
- .github/workflows/pr-labeler.yml
|
|
- .github/pr-labeler.yml
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/pr-labeler-config-validator.yml
|
|
- .github/workflows/pr-labeler.yml
|
|
- .github/pr-labeler.yml
|
|
|
|
jobs:
|
|
pr-labeler:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v3
|
|
- uses: dorny/paths-filter@v2
|
|
id: filter
|
|
with:
|
|
filters: |
|
|
pr-labeller:
|
|
- '.github/pr-labeler.yml'
|
|
- name: Validate Configuration
|
|
if: steps.filter.outputs.pr-labeller == 'true'
|
|
uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.3
|
|
with:
|
|
configuration-path: .github/pr-labeler.yml
|