mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 19:35:07 +00:00
305a28b214
Use the following GitHub action to automatically label pull requests based on the paths of the modified files: https://github.com/marketplace/actions/labeler Use it to label pull requests introducing new status reports with the 'status report' label. Approved by: uqs (github-automation), dbaio (doceng) Pull Request: https://github.com/freebsd/freebsd-doc/pull/121
16 lines
348 B
YAML
16 lines
348 B
YAML
name: "Label pull requests"
|
|
on: [pull_request_target]
|
|
|
|
jobs:
|
|
|
|
label-pull-requests:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/labeler@v4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: ".github/conf/label-pull-requests.yml"
|