updating code #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Request Labeler" | |
on: | |
pull_request_target: | |
types: [opened, reopened] | |
jobs: | |
triage: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@v4 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
configuration-path: ".github/pr-labeler-config.yml" | |
- uses: actions-ecosystem/[email protected] | |
# only add names of Acryl Data team members here | |
if: | |
${{ | |
!contains( | |
fromJson('[ | |
"anshbansal", | |
"asikowitz", | |
"chriscollins3456", | |
"david-leifker", | |
"shirshanka", | |
"sid-acryl", | |
"swaroopjagadish", | |
"treff7es", | |
"yoonhyejin", | |
"eboneil", | |
"ethan-cartwright", | |
"gabe-lyons", | |
"hsheth2", | |
"jjoyce0510", | |
"maggiehays", | |
"mrjefflewis", | |
"pedro93", | |
"RyanHolstien", | |
"Kunal-kankriya", | |
"purnimagarg1", | |
"gaurav2733", | |
"dushayntAW", | |
"AvaniSiddhapuraAPT", | |
"akarsh991", | |
"shubhamjagtap639", | |
"mayurinehate" | |
]'), | |
github.actor | |
) | |
}} | |
with: | |
github_token: ${{ github.token }} | |
labels: | | |
community-contribution | |
- uses: actions-ecosystem/[email protected] | |
# only add names of champions here. Confirm with DevRel Team | |
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 |