Files
build/.github/workflows/labels-from-yml.yml
Igor 70832ae5a1 Improve labeling system - refactor labeling logic (#5916)
* Add label table
* Add PR size labelling
* Implement suggestings from meeting
* Add proper GitHub labeller
---------

Co-authored-by: Werner <EvilOlaf@users.noreply.github.com>
2023-11-19 22:36:06 +01:00

30 lines
651 B
YAML

name: Set PR and issues labels from yaml
on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
pull_request:
paths:
- '.github/labels.yml'
jobs:
labeler:
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
dry-run: ${{ github.event_name == 'pull_request' }}
exclude: |
Maintenance*