Bumps [crazy-max/ghaction-github-labeler](https://github.com/crazy-max/ghaction-github-labeler) from 5 to 6. - [Release notes](https://github.com/crazy-max/ghaction-github-labeler/releases) - [Commits](https://github.com/crazy-max/ghaction-github-labeler/compare/v5...v6) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
37 lines
927 B
YAML
37 lines
927 B
YAML
name: "Data: Sync labels"
|
|
run-name: Sync Labels from YML on ${{ github.event_name }}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
paths:
|
|
- ".github/labels.yml"
|
|
pull_request:
|
|
paths:
|
|
- ".github/labels.yml"
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read # for actions/labeler to determine modified files
|
|
pull-requests: write # for actions/labeler to add labels to PRs
|
|
issues: write # for actions/labeler to add labels to issues
|
|
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Run Labeler
|
|
uses: crazy-max/ghaction-github-labeler@v6
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
yaml-file: .github/labels.yml
|
|
dry-run: ${{ github.event_name == 'pull_request' }}
|
|
exclude: |
|
|
Maintenance*
|