1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 19:35:07 +00:00
Files
doc/.github/workflows/label-pull-requests.yml
T
Lorenzo Salvadore 305a28b214 GitHub Actions: Add a labeler action
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
2023-03-15 09:51:16 +01:00

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"