aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/labeler.yml82
-rw-r--r--.github/workflows/labeler.yml15
2 files changed, 51 insertions, 46 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 95eaa49252..f0e72786b2 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -1,46 +1,56 @@
core:
- - quantum/**/*
- - tmk_core/**/*
- - drivers/**/*
- - tests/**/*
- - util/**/*
- - platforms/**/*
- - builddefs/**/*
- - Makefile
- - '*.mk'
+ - changed-files:
+ - any-glob-to-any-file:
+ - quantum/**
+ - tmk_core/**
+ - drivers/**
+ - tests/**
+ - util/**
+ - platforms/**
+ - builddefs/*.mk
+ - Makefile
+ - '*.mk'
dependencies:
- - any:
- - 'lib/**/*'
- - '!lib/python/**/*'
+ - all:
+ - changed-files:
+ - any-glob-to-any-file: lib/**
+ - all-globs-to-all-files: '!lib/python/**'
keyboard:
- - any:
- - 'keyboards/**/*'
- - '!keyboards/**/keymaps/**/*'
+ - all:
+ - changed-files:
+ - any-glob-to-any-file: keyboards/**
+ - all-globs-to-all-files: '!keyboards/**/keymaps/**'
keymap:
- - users/**/*
- - layouts/**/*
- - keyboards/**/keymaps/**/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - users/**
+ - layouts/**
+ - keyboards/**/keymaps/**
via:
- - keyboards/**/keymaps/via/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - keyboards/**/keymaps/via/*
cli:
- - requirements.txt
- - lib/python/**/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - requirements.txt
+ - lib/python/**
python:
- - '**/*.py'
+ - changed-files:
+ - any-glob-to-any-file:
+ - '**/*.py'
documentation:
- - docs/**/*
-translation:
- - docs/fr-fr/**/*
- - docs/es/**/*
- - docs/ja/**/*
- - docs/he-il/**/*
- - docs/pt-br/**/*
- - docs/zh-cn/**/*
- - docs/de/**/*
- - docs/ru-ru/**/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - docs/**
+ - builddefs/docsgen/**
CI:
- - .github/**/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - .github/**
dd:
- - data/constants/**/*
- - data/mappings/**/*
- - data/schemas/**/*
+ - changed-files:
+ - any-glob-to-any-file:
+ - data/constants/**
+ - data/mappings/**
+ - data/schemas/**
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index fa4b8981ad..2dc354dda2 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,18 +1,13 @@
name: "Pull Request Labeler"
-permissions:
- contents: read
- pull-requests: write
-
on:
- pull_request_target:
- types: [opened, synchronize, reopened, ready_for_review, locked]
+- pull_request_target
jobs:
triage:
+ permissions:
+ contents: read
+ pull-requests: write
runs-on: ubuntu-latest
steps:
- - uses: actions/labeler@v4
- with:
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
- configuration-path: '.github/labeler.yml'
+ - uses: actions/labeler@v5