Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Path-based labels applied to PRs by .github/workflows/labeler.yml.
# Uses actions/labeler@v5 match rules.

docs:
- changed-files:
- any-glob-to-any-file:
- "docs/**"

app:
- changed-files:
- any-glob-to-any-file:
- "PyMemoryEditor/app/**"

linux:
- changed-files:
- any-glob-to-any-file:
- "PyMemoryEditor/linux/**"

win32:
- changed-files:
- any-glob-to-any-file:
- "PyMemoryEditor/win32/**"

macOS:
- changed-files:
- any-glob-to-any-file:
- "PyMemoryEditor/macos/**"

# Any change inside the PyMemoryEditor package.
lib:
- changed-files:
- any-glob-to-any-file:
- "PyMemoryEditor/**"

tests:
- changed-files:
- any-glob-to-any-file:
- "tests/**"
27 changes: 27 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Labeler

on:
pull_request_target:
types:
- opened
- synchronize
- reopened

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

jobs:
label:
name: Label PR by changed files
runs-on: ubuntu-latest
steps:
- name: Apply labels
uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yml
sync-labels: true
Loading