diff options
author | DrummyFloyd <[email protected]> | 2024-06-09 15:53:05 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-09 15:53:05 +0200 |
commit | 1f71d5f5c1a3fe57dadf534c8b3bcac56fa3259f (patch) | |
tree | d42e88affef1502770ddafd78dd5f2fc77a8ffb1 /.github | |
parent | bf75723f2742973d4820f3f5378dff8c99333660 (diff) | |
download | Hyprland-1f71d5f5c1a3fe57dadf534c8b3bcac56fa3259f.tar.gz Hyprland-1f71d5f5c1a3fe57dadf534c8b3bcac56fa3259f.zip |
ci: add auto labels on PR (#6369)
* ci: add auto labels
* ci(labeler): add glob for src/protocols
* ci: adapt to vaxerski request
Diffstat (limited to '.github')
-rw-r--r-- | .github/labeler.yml | 83 | ||||
-rw-r--r-- | .github/workflows/labeler.yml | 12 |
2 files changed, 95 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..a0685fcf --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,83 @@ +assets: + - changed-files: + - any-glob-to-any-file: "assets/**" + +docs: + - changed-files: + - any-glob-to-any-file: "docs/**" + +hyprctl: + - changed-files: + - any-glob-to-any-file: "hyprctl/**" + +hyprpm: + - changed-files: + - any-glob-to-any-file: "hyprpm/**" + +nix: + - changed-files: + - any-glob-to-any-file: "nix/**" + +protocols: + - changed-files: + - any-glob-to-any-file: ["protocols/**", "src/protocols/**"] + +core: + - changed-files: + - any-glob-to-any-file: "src/**" + +config: + - changed-files: + - any-glob-to-any-file: "src/config/**" + +debug: + - changed-files: + - any-glob-to-any-file: "src/debug/**" + +desktop: + - changed-files: + - any-glob-to-any-file: "src/desktop/**" + +devices: + - changed-files: + - any-glob-to-any-file: "src/devices/**" + +events: + - changed-files: + - any-glob-to-any-file: "src/events/**" + +helpers: + - changed-files: + - any-glob-to-any-file: "src/helpers/**" + +hyprerror: + - changed-files: + - any-glob-to-any-file: "src/hyprerror/**" + +init: + - changed-files: + - any-glob-to-any-file: "src/init/**" + +layout: + - changed-files: + - any-glob-to-any-file: "src/layout/**" + +managers: + - changed-files: + - any-glob-to-any-file: "src/managers/**" + +pch: + - changed-files: + - any-glob-to-any-file: "src/pch/**" + +plugins: + - changed-files: + - any-glob-to-any-file: "src/plugins/**" + +render: + - changed-files: + - any-glob-to-any-file: "src/render/**" + +xwayland: + - changed-files: + - any-glob-to-any-file: "src/xwayland/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..52474c6a --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 |