mermaid/.github/workflows/pr-labeler-config-validator...

23 lines
580 B
YAML
Raw Normal View History

2021-11-20 06:14:20 +01:00
name: Validate PR Labeler Configuration
on:
push:
pull_request:
2021-11-20 06:14:20 +01:00
jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
2021-11-21 00:48:50 +01:00
- name: Checkout Repository
uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
pr-labeller:
- '.github/pr-labeler.yml'
2021-11-20 06:14:20 +01:00
- name: Validate Configuration
if: steps.filter.outputs.pr-labeller == 'true'
2021-11-21 03:20:05 +01:00
uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.3
2021-11-20 06:14:20 +01:00
with:
configuration-path: .github/pr-labeler.yml