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
43 changes: 43 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Configuration for actions/labeler
# Labels PRs based on changed files

# Proposal labels
wasi-cli:
- changed-files:
- any-glob-to-any-file: 'proposals/cli/**'

wasi-clocks:
- changed-files:
- any-glob-to-any-file: 'proposals/clocks/**'

wasi-filesystem:
- changed-files:
- any-glob-to-any-file: 'proposals/filesystem/**'

wasi-http:
- changed-files:
- any-glob-to-any-file: 'proposals/http/**'

wasi-io:
- changed-files:
- any-glob-to-any-file: 'proposals/io/**'

wasi-random:
- changed-files:
- any-glob-to-any-file: 'proposals/random/**'

wasi-sockets:
- changed-files:
- any-glob-to-any-file: 'proposals/sockets/**'

# GitHub Actions label
github_actions:
- changed-files:
- any-glob-to-any-file: '.github/**'

# Dependencies label (already exists, used by dependabot)
dependencies:
- changed-files:
- any-glob-to-any-file:
- '**/deps.toml'
- '**/deps.lock'
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Labeler

on:
pull_request_target:

jobs:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Apply labels
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1