Skip to content

Commit

Permalink
[SEDONA-535] Add the pull request labeler (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored and jiayuasu committed Apr 28, 2024
1 parent e34b8d4 commit 41da7d2
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# https://github.com/actions/labeler
root:
- any:
- changed-files:
- any-glob-to-any-file:
- '*'

docs:
- any:
- changed-files:
- any-glob-to-any-file:
- docs/**/*
- docs-overrides/**/*
- README.md

github-actions:
- any:
- changed-files:
- any-glob-to-any-file:
- .github/**/*

licenses:
- any:
- changed-files:
- any-glob-to-any-file:
- licenses/**/*

sedona-common:
- any:
- changed-files:
- any-glob-to-any-file:
- common/**/*

sedona-docker:
- any:
- changed-files:
- any-glob-to-any-file:
- docker/**/*

sedona-flink:
- any:
- changed-files:
- any-glob-to-any-file:
- flink/**/*
- flink-shaded/**/*

sedona-python:
- any:
- changed-files:
- any-glob-to-any-file:
- python/**/*

sedona-r:
- any:
- changed-files:
- any-glob-to-any-file:
- R/**/*

sedona-snowflake:
- any:
- changed-files:
- any-glob-to-any-file:
- snowflake/**/*
- snowflake-tester/**/*

sedona-spark:
- any:
- changed-files:
- any-glob-to-any-file:
- spark/**/*
- spark-shaded/**/*

sedona-zeppelin:
- any:
- changed-files:
- any-glob-to-any-file:
- zeppelin/**/*
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://github.com/actions/labeler
name: Pull Request Labeler
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 41da7d2

Please sign in to comment.