mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
c43b5e71b8
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>
(cherry picked from commit 5fb7232bc0
)
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 }}'
|