Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
CI: init labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
NotAShelf committed Jul 24, 2024
1 parent 35d9b1c commit 7b1c7ef
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module-system:
- changed-files:
- any-glob-to-any-file: modules/**/*
docs:
- changed-files:
- any-glob-to-any-file: docs/*
flake-packages:
- changed-files:
- any-glob-to-any-file: parts/pkgs/**/*
secrets:
- changed-files:
- any-glob-to-any-file: secrets/**/*
hosts:
- changed-files:
- any-glob-to-any-file: hosts/**/*
treewide:
- changed-files:
- any-glob-to-any-file: "*"
CI:
- changed-files:
- any-glob-to-any-file: .github/workflows/*
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: Labeler
on: [pull_request]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: "Assign Labels"
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 7b1c7ef

Please sign in to comment.