[server] fix private GitHub avatars #11556
Workflow file for this run
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: Team Labeler | |
on: | |
pull_request: | |
types: [review_requested] | |
jobs: | |
label: | |
name: Apply team labels | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set team labels as output | |
id: team_labels | |
run: | | |
LABELS="team: ${{ join(github.event.pull_request.requested_teams.*.slug, ', team: ') }}" | |
echo ::set-output name=label::${LABELS//engineering-/} | |
- name: Add team labels | |
if: join(github.event.pull_request.requested_teams.*.slug, '') != '' | |
uses: andymckay/[email protected] | |
with: | |
add-labels: "${{ steps.team_labels.outputs.label }}" |