From 0aa59ae56fb72279693240d30400fcf2cce049b7 Mon Sep 17 00:00:00 2001 From: Todd Martin <106564991+trmartin4@users.noreply.github.com> Date: Tue, 29 Oct 2024 21:25:20 -0400 Subject: [PATCH] Create labeler for ADR updates (#464) --- .github/labeler.yml | 3 +++ .github/workflows/labeler.yml | 16 ++++++++++++++++ 2 files changed, 19 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 00000000..c364e2cd --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +adr: + - changed-files: + - any-glob-to-any-file: docs/architecture/adr/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..e02906d0 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,16 @@ +name: "Pull Request Labeler" + +on: + pull_request_target: {} + +jobs: + labeler: + name: "Pull Request Labeler" + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-22.04 + steps: + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 + with: + sync-labels: true # Remove labels if matches are removed