ci(label): datahub-community-champion label based off usernames (#9558)

Co-authored-by: socar-dini <0327jane@gmail.com>
This commit is contained in:
Aseem Bansal 2024-01-04 07:59:56 +05:30 committed by GitHub
parent a8faa172c6
commit 17049088b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,3 +14,31 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/pr-labeler-config.yml"
- uses: actions-ecosystem/action-add-labels@v1.1.0
# only add names of Acryl Data team members here
if:
${{
!contains(
fromJson('[
"skrydal",
"siladitya2",
"sgomezvillamor",
"ngamanda",
"HarveyLeo",
"frsann",
"bossenti",
"nikolakasev",
"PatrickfBraz",
"cuong-pham",
"sudhakarast",
"tkdrahn",
"rtekal",
"sgm44"
]'),
github.actor
)
}}
with:
github_token: ${{ github.token }}
labels: |
datahub-community-champion