From 809e2d26ed90e56ed00d581a2fbf6c219e59be5f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 3 Jan 2024 14:38:35 -0500 Subject: [PATCH] ci: Add GH labeler workflow Because it's useful to track sub-components. Signed-off-by: Colin Walters --- .github/labeler.yml | 8 ++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..75664f9b6 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +documentation: +- changed-files: + - any-glob-to-any-file: 'docs/*' + - any-glob-to-any-file: 'manpages-md' + - README.md +area/install: +- changed-files: + - any-glob-to-any-file: 'lib/src/install*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..bd636ad44 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 \ No newline at end of file