From de33d2c4ce6425ec490c7b7d3eec1a72d0eb3253 Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:43:47 -0400 Subject: [PATCH] Add labeler workflow (#242) --- .github/labeler.yml | 8 ++++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 22 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..87ef49d7d8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,8 @@ +indexer: + - indexer/** +proto: + - v4-proto-py/** + - v4-proto-js/** + - proto/** +protocol: + - protocol/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..5a74b25324 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: "Pull Request Labeler" +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4.3.0 + with: + sync-labels: true