Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Make community champions public (#43271)

Joseph T. Lyons0492255d7b85
diff --git a/.github/workflows/community_champion_auto_labeler.yml b/.github/workflows/community_champion_auto_labeler.yml
index c525bf4738f..8d991c8eb35 100644
--- a/.github/workflows/community_champion_auto_labeler.yml
+++ b/.github/workflows/community_champion_auto_labeler.yml
@@ -13,13 +13,65 @@ jobs:
steps:
- name: Check if author is a community champion and apply label
uses: actions/github-script@v7
+ env:
+ COMMUNITY_CHAMPIONS: |
+ 0x2CA
+ 5brian
+ 5herlocked
+ abdelq
+ afgomez
+ AidanV
+ akbxr
+ AlvaroParker
+ artemevsevev
+ bajrangCoder
+ bcomnes
+ Be-ing
+ blopker
+ bobbymannino
+ CharlesChen0823
+ chbk
+ cppcoffee
+ davewa
+ ddoemonn
+ djsauble
+ fantacell
+ findrakecil
+ gko
+ huacnlee
+ imumesh18
+ jacobtread
+ jansol
+ jeffreyguenther
+ jenslys
+ jongretar
+ lemorage
+ lnay
+ marcocondrache
+ marius851000
+ mikebronner
+ ognevny
+ RemcoSmitsDev
+ romaninsh
+ Simek
+ someone13574
+ sourcefrog
+ suxiaoshao
+ Takk8IS
+ tidely
+ timvermeulen
+ valentinegb
+ versecafe
+ vitallium
+ warrenjokinen
+ ya7010
+ Zertsov
with:
script: |
- const communityChampionBody = `${{ secrets.COMMUNITY_CHAMPIONS }}`;
-
- const communityChampions = communityChampionBody
+ const communityChampions = process.env.COMMUNITY_CHAMPIONS
.split('\n')
- .map(handle => handle.trim().toLowerCase());
+ .map(handle => handle.trim().toLowerCase())
+ .filter(handle => handle.length > 0);
let author;
if (context.eventName === 'issues') {