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 <milosthegajdos@gmail.com>
This commit is contained in:
Milos Gajdos 2023-12-22 09:44:00 +00:00
parent 012adcae7d
commit ea02d9c42e
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

3
.github/labeler.yml vendored
View file

@ -36,6 +36,9 @@ area/storage/gcs:
area/storage/azure:
- registry/storage/azure
area/cache:
- registry/storage/cache
area/auth:
- registry/auth

19
.github/workflows/label.yaml vendored Normal file
View file

@ -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