18 lines
471 B
YAML
18 lines
471 B
YAML
# the mapping from filepath to label
|
|
# is defined in .github/label-github-issues-by-path.yml
|
|
|
|
name: "Label PR based on filepath"
|
|
on:
|
|
- pull_request_target
|
|
|
|
jobs:
|
|
add-label-based-on-file-changes:
|
|
name: "Label PRs based on files changes"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Label PR based on changed files"
|
|
uses: actions/labeler@v3
|
|
with:
|
|
repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}"
|
|
sync-labels: true
|