From 129969482ec305c25f3a097cd13c30070f2fb84a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 7 Sep 2023 17:38:59 -0400 Subject: [PATCH] ci: Add an automatic labeler action To automate a bit. --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 18 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 0000000000..e626115271 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +area/prepare-root: +- src/switchroot/** +- src/boot + +area/rust-bindings: +- rust-bindings/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..270c6df1e1 --- /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@v4 \ No newline at end of file