From 76fe7ddb590f05a650f22fb15a7764320f58a42e Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Tue, 2 May 2023 16:02:31 +0200 Subject: Add documentation label automatically (#2156) --- .github/labeler.yml | 2 ++ .github/workflows/doc-autolabel.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/doc-autolabel.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..b341bb50 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +documentation: +- doc/* diff --git a/.github/workflows/doc-autolabel.yml b/.github/workflows/doc-autolabel.yml new file mode 100644 index 00000000..54c065bd --- /dev/null +++ b/.github/workflows/doc-autolabel.yml @@ -0,0 +1,12 @@ +name: Label documentation changes automatically +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 -- cgit v1.2.1