File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919 if : github.event.pull_request.draft == false
2020 env :
2121 # Teams to apply this workflow for:
22- TEAM_SLUGS : ' ["TeamX", "TeamY"]'
22+ TRAINEE_TEAMS_SLUGS : ' ["TeamX", "TeamY"]'
23+ # Curriculum crew team slug:
24+ CURRICULUM_CREW_TEAM_SLUG : ' curriculum-crew'
2325 # The PR comment:
2426 COMMENT_BODY : |
2527 hej @${{ github.event.pull_request.user.login }}
3032 uses : actions/github-script@v7
3133 with :
3234 script : |
33- const traineeTeamSlugs = JSON.parse(process.env.TEAM_SLUGS );
35+ const traineeTeamSlugs = JSON.parse(process.env.TRAINEE_TEAMS_SLUGS );
3436 const authorUsername = context.payload.pull_request.user.login;
35- const curriculumCrewTeamSlug = 'curriculum-crew' ;
37+ const curriculumCrewTeamSlug = process.env.CURRICULUM_CREW_TEAM_SLUG ;
3638
3739 try {
3840 await github.rest.teams.getMembershipForUserInOrg({
You can’t perform that action at this time.
0 commit comments