From ea02d9c42e90c6e479aad82b745bfcd7feded963 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Fri, 22 Dec 2023 09:44:00 +0000 Subject: [PATCH] fix: add labeler action Whilst we had added labeles to GHA config, we forgot to add the actual action doing the labeling. Co-authored-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> Signed-off-by: Milos Gajdos --- .github/labeler.yml | 3 +++ .github/workflows/label.yaml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/label.yaml diff --git a/.github/labeler.yml b/.github/labeler.yml index 0b329cdde..b1f1f45e1 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -36,6 +36,9 @@ area/storage/gcs: area/storage/azure: - registry/storage/azure +area/cache: + - registry/storage/cache + area/auth: - registry/auth diff --git a/.github/workflows/label.yaml b/.github/workflows/label.yaml new file mode 100644 index 000000000..6dda19bcd --- /dev/null +++ b/.github/workflows/label.yaml @@ -0,0 +1,19 @@ +name: Pull Request Labeler + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request_target: + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + dot: true