Skip to content
Open
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
136 changes: 136 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
arch-aarch64:
- changed-files:
- any-glob-to-any-file:
- "src/arch/aarch64/**"

arch-riscv64:
- changed-files:
- any-glob-to-any-file:
- "src/arch/riscv64/**"

arch-x86_64:
- changed-files:
- any-glob-to-any-file:
- "src/arch/x86_64/**"

cargo:
- changed-files:
- any-glob-to-any-file:
- "**/Cargo.toml"
- "**/Cargo.lock"

ci:
- changed-files:
- any-glob-to-any-file:
- ".github/workflows/**"

crate-builtins:
- changed-files:
- any-glob-to-any-file:
- "hermit-builtins/**"

crate-macro:
- changed-files:
- any-glob-to-any-file:
- "hermit-macro/**"

crate-xtask:
- changed-files:
- any-glob-to-any-file:
- "xtask/**"

driver-gem:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/net/gem/**"

driver-loopback:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/net/loopback.rs"

driver-rtl8139:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/net/rtl8139.rs"

driver-virtio-console:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/console/**"

driver-virtio-fs:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/fs/**"
- "src/fs/virtio_fs.rs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, a src/console/** label is missing here? This file includes all subdirectories, just not this one.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went by modules, not directories. All the single-file modules don't have a label. I believe the console module is too small to warrant a label, even though it has two files.

If you disagree, I can also add a label, though.

driver-virtio-net:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/net/virtio/**"

driver-virtio-vsock:
- changed-files:
- any-glob-to-any-file:
- "src/drivers/vsock/**"
- "src/executor/vsock.rs"

executor:
- changed-files:
- any-glob-to-any-file:
- "src/executor/**"

fd:
- changed-files:
- any-glob-to-any-file:
- "src/fd/**"

fs:
- changed-files:
- any-glob-to-any-file:
- "src/fs/**"

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

plat-uhyve:
- changed-files:
- any-glob-to-any-file:
- "**/uhyve/**"
- "**/uhyve.rs"

scheduler:
- changed-files:
- any-glob-to-any-file:
- "**/scheduler/**"
- "**/scheduler.rs"

synch:
- changed-files:
- any-glob-to-any-file:
- "src/synch/**"

syscalls:
- changed-files:
- any-glob-to-any-file:
- "src/syscalls/**"

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

transport-mmio:
- changed-files:
- any-glob-to-any-file:
- "**/mmio/**"
- "**/mmio.rs*"

transport-pci:
- changed-files:
- any-glob-to-any-file:
- "**/pci/**"
- "**/pci.rs"
13 changes: 13 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
issues: write
runs-on: ubuntu-24.04
steps:
- uses: actions/labeler@v7
Loading