public_library_map/.github/workflows/label-prs.yml

23 lines
336 B
YAML

name: label PRs
on:
pull_request:
paths:
- 'website/data/*'
workflow_dispatch:
jobs:
add-labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: christianvuerings/add-labels@v1
with:
labels: |
data
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}