mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
5fb7232bc0
Target major version of labeler to include minor fixes and use always the latest major version with included fixes. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
20 lines
429 B
YAML
20 lines
429 B
YAML
name: 'Pull Request Labeler'
|
|
on:
|
|
- pull_request_target
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read # to determine modified files (actions/labeler)
|
|
pull-requests: write # to add labels to PRs (actions/labeler)
|
|
|
|
name: Pull Request Labeler
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v4
|
|
with:
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|