Merge branch 'armbian:main' into main #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Set PR and issues labels from yaml | |
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@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* |